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

OPTIONS Allow header differs deterministically between OSes #248

Closed
tmornini opened this issue Aug 15, 2018 · 2 comments
Closed

OPTIONS Allow header differs deterministically between OSes #248

tmornini opened this issue Aug 15, 2018 · 2 comments
Milestone

Comments

@tmornini
Copy link

When setting HandleMethodNotAllowed to true

MacOS 10.13.6

HTTP/1.1 405 Method Not Allowed
Allow: GET, HEAD, OPTIONS
Content-Length: 19
Content-Type: text/plain; charset=utf-8
Date: ⧆⧆:date⧆
X-Content-Type-Options: nosniff
 
Method Not Allowed

Ubuntu 16.04

HTTP/1.1 405 Method Not Allowed
Allow: HEAD, GET, OPTIONS
Content-Length: 19
Content-Type: text/plain; charset=utf-8
Date: ⧆⧆:date⧆
X-Content-Type-Options: nosniff
 
Method Not Allowed

This is causing us pain in testing using http-spec -- though we're aware that the headers are semantically equivalent.

@dolmen
Copy link

dolmen commented Sep 11, 2018

Is this about the order of the allowed methods in the Allow header?

@tmornini
Copy link
Author

@dolmen Yes. Sorry for being less than 100% clear.

@julienschmidt julienschmidt added this to the v1.3 milestone Sep 29, 2019
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

3 participants