twill mishandles http equiv-refreshes?
September 20, 2008 – 01:03Image via WikipediaIt’s Friday night after hectic work week and I’m too tired to investigate further, but….
It feels to me that twill breaks following http equiv-refreshes from the code. See the debug output:
reply: 'HTTP/1.0 200 OK\n'
header: Vary: Accept-Language, Cookie
header: Content-Type: text/html; charset=utf-8
header: Content-Language: en
equiv-refresh DEBUG: code 200, hdrs has 'refresh'
equiv-refresh DEBUG: refresh header is 10; /files/aabbcc/?key=yVck
equiv-refresh DEBUG: pause: 10
equiv-refresh DEBUG: new url: /files/aabbcc/?key=yVck
equiv-refresh DEBUG: final url: yVck
Following HTTP-EQUIV=REFRESH to yVck
send: 'GET /files/aabbcc/upload/yVck
How, in the name of Gods of Friday night debugs, /files/aabbcc/?key=yVck
converted to /files/aabbcc/upload/yVck
?