-
Notifications
You must be signed in to change notification settings - Fork 100
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
fix: patch requests are case-sensitive #66
Conversation
@developit Ping on this Jason, don't want to add hurry just pinging to not forget =) |
any reason you are not uppercasing all http methods? even if they dont seem to break when lowercase i reckon they should be converted to uppercase both for consistency but more importantly the spec seems to recommend normalizing (converting to uppercase) all methods for backwards compatibility: |
Didn't know that ;) just fixing the wrong use case, but if normalizing is the correct approach I'll modify the PR later, thanks mate |
In Google Chrome, Apparently, some verbs ( I think in order to be the most compatible with the |
We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google. ℹ️ Googlers: Go here for more info. |
From the size bot: Size Change: +56 B (1%) Total Size: 3.02 kB
|
I might try checking if |
774d095
to
fddb4da
Compare
@googlebot I fixed it. |
Yep, I think so. With uppercase:Build "redaxios" to dist:
949 B: redaxios.js.gz
825 B: redaxios.js.br
945 B: redaxios.module.js.gz
823 B: redaxios.module.js.br
997 B: redaxios.umd.js.gz
871 B: redaxios.umd.js.br Without uppercaseBuild "redaxios" to dist:
962 B: redaxios.js.gz
821 B: redaxios.js.br
958 B: redaxios.module.js.gz
816 B: redaxios.module.js.br
1009 B: redaxios.umd.js.gz
868 B: redaxios.umd.js.br Just pushed the change to test against the github workflow. |
We just encountered the same problem and this PR would fix it 🥳 |
Size Change: +34 B (1%) Total Size: 2.99 kB
|
I've added a test to avoid a regression on this :)
Here it is @developit ;)