fix POST redirects
Before adoption: this commit came in with the history the project adopted, so no landing records it.
the redirect handling logic compares then method to upper-case strings, so make sure the method gets upper-cased as well. add a test to POST to /status/302 on httpbin, which fails against httpbin.org right now. i'm submitting a pull request over there to fix that right after this one. once that's accepted, the new test verifies that the fix works.
authored by David Bonner · committed by David Bonner · parent 60b4843 · Browse files · 3 files+7 added−5 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
3 files+7 added−5 removed
- other:+7 added−5 removed