Closed reubano closed 7 years ago
It appears that requests other than GET are converted to GET requests... Example from my heroku log
GET
Aug 30 08:43:18 app/router: at=info method=DELETE path="/v2/feed?source=test" host=app.herokuapp.com request_id=xxx fwd="xxx" dyno=web.1 connect=1ms service=11ms status=302 bytes=592 protocol=http Aug 30 08:43:19 app/router: at=info method=GET path="/v2/feed?source=test" host=app.herokuapp.com request_id=xxx fwd="xxx" dyno=web.1 connect=1ms service=18ms status=200 bytes=15801 protocol=https
That's how 301's work.
https://tools.ietf.org/html/rfc2616#section-10.3.2
TIL
✨🍰✨
Flask SSLify could use 303 or 307 redirects to make non-GET request redirection work.
those didn't exist when this was written
It appears that requests other than
GET
are converted toGET
requests... Example from my heroku log