Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore reserved headers in blueprint file #159

Open
subinvarghesein opened this issue Mar 15, 2017 · 0 comments
Open

Ignore reserved headers in blueprint file #159

subinvarghesein opened this issue Mar 15, 2017 · 0 comments

Comments

@subinvarghesein
Copy link
Contributor

According to W3C, following headers are reserved and can't be explicitly set by JS:

  • header name starting with Proxy- or Sec-
  • Accept-Charset
  • Accept-Encoding
  • Access-Control-Request-Headers
  • Access-Control-Request-Method
  • Connection
  • Content-Length
  • Cookie
  • Cookie2
  • Date
  • DNT
  • Expect
  • Host
  • Keep-Alive
  • Origin
  • Referer
  • TE
  • Trailer
  • Transfer-Encoding
  • Upgrade
  • User-Agent
  • Via

So if a blueprint spec has mentioned one of the above headers, Drakov should ideally ignore that in it's url matching algorithm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant