has anyone made a tween/middleware/etc to adapt status codes depending on http protocol?

14 views
Skip to first unread message

Jonathan Vanasco

unread,
Sep 14, 2017, 9:05:46 PM9/14/17
to pylons-discuss
Hoping to not reinvent the wheel if possible... 

I'd like to write our code redirects as HTTP/1.1 when applicable (such as 303SeeOther on a successful post submission), but downgrade it to HTTP/1.0's 302 redirect if the client hasn't identified HTTP/1.1.  

Has anyone worked on this?
Reply all
Reply to author
Forward
0 new messages