Skip to content

Commit

Permalink
Auto complete headers
Browse files Browse the repository at this point in the history
  • Loading branch information
hsingh23 authored and jackkav committed Jan 4, 2024
1 parent de83b93 commit 1b0ce06
Showing 1 changed file with 49 additions and 2 deletions.
51 changes: 49 additions & 2 deletions src/views/bin/create.pug
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,59 @@ block content

form.form-inline(name='headers')
h4 Headers

datalist#response_headers
option(value='Accept')
option(value='Accept-Charset')
option(value='Accept-Encoding')
option(value='Accept-Language')
option(value='Accept-Datetime')
option(value='Authorization')
option(value='Cache-Control')
option(value='Connection')
option(value='Cookie')
option(value='Content-Length')
option(value='Content-MD5')
option(value='Content-Type')
option(value='Date')
option(value='Expect')
option(value='Forwarded')
option(value='From')
option(value='Host')
option(value='If-Match')
option(value='If-Modified-Since')
option(value='If-None-Match')
option(value='If-Range')
option(value='If-Unmodified-Since')
option(value='Max-Forwards')
option(value='Origin')
option(value='Pragma')
option(value='Proxy-Authorization')
option(value='Range')
option(value='Referer')
option(value='TE')
option(value='User-Agent')
option(value='Upgrade')
option(value='Via')
option(value='Warning')
option(value='X-Requested-With')
option(value='DNT')
option(value='X-Forwarded-For')
option(value='X-Forwarded-Host')
option(value='X-Forwarded-Proto')
option(value='Front-End-Https')
option(value='X-Http-Method-Override')
option(value='X-ATT-DeviceId')
option(value='X-Wap-Profile')
option(value='Proxy-Connection')
option(value='X-UIDH')
option(value='X-Csrf-Token')
option(value='X-Request-ID')
option(value='X-Correlation-ID')
div.form-group.pair
div.input-group.multi
span.input-group-addon Header

input.form-control(type='text', name='name', placeholder='name', required='')
input.form-control(type='text', name='name', placeholder='name', required='', autocomplete='on', list="response_headers")
input.form-control(type='text', name='value', placeholder='value')

span.input-group-btn
Expand Down

0 comments on commit 1b0ce06

Please sign in to comment.