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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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.