Lukasa Echochamber 2/27/2013

Requests and the HTTP 302 Status Code

Read Original

This technical article analyzes how the Python Requests library should handle HTTP 302 status codes. It discusses the conflict between the official RFC specification, which advises against automatic redirects for non-GET/HEAD requests, and the prevalent behavior of web browsers that treat 302 like a 303. The author explores the design dilemma and potential implementation options for the library.

Requests and the HTTP 302 Status Code

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week