HTTP 307 Temporary Redirect
HTTP 307 Temporary Redirect points to a temporary URI and preserves the request method if the client follows it automatically. The destination normally appears in Location.
Why the method matters
If a client sends POST /uploads and receives a 307, following the redirect means sending a POST to the new destination. A client may need a replayable body and can decline to resend a streamed request. Credentials can also be subject to the client’s rules for the new host.
Find where forwarding stops
Capture the original response and confirm the destination in Location. When you control the service, check the follow-up request at the destination for the intended method and body. TestMyProxies leaves the 307 unfollowed. A permanent move that preserves the method uses 308.
Check that an upload keeps the same method
> POST /media HTTP/1.1
< HTTP/1.1 307 Temporary Redirect
< Location: /media/temporary-intake
> POST /media/temporary-intake HTTP/1.1
< HTTP/1.1 201 Created
In this illustrative exchange, the client follows the redirect using POST and sends the body to the temporary intake endpoint. Check the destination’s upload limit and authentication rules before using this pattern. A client that reads from a stream might need to retain or reopen the input before it can send it again. Use one disposable request to test the behavior.
Diagnose an incomplete redirect sequence
Inspect the client trace for the 307 and the destination’s logs for a corresponding POST. If the second request never arrives, look at the client’s redirect policy and whether it can replay the body. If the destination receives a POST but responds with 405 Method Not Allowed, review the redirected route’s method configuration. Check whether the first request produced any side effects before retrying a production upload.