twill mishandles http equiv-refreshes?

September 20, 2008 – 1:03 am

Friday Night's logoImage 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 OKn'
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?

  1. 2 Responses to “twill mishandles http equiv-refreshes?”

  2. Andrey.

    I’m reading your blog (keep it up!) and I noticed you ran into some issues with Django testing, and now with twill. I recommend posting questions to the testing-in-python mailing list (aka TIP) at http://lists.idyll.org/listinfo/testing-in-python

    It’s a high signal-to-noise ratio list, and I think you’ll get answers to your questions most of the time.

    Grig

    By Grig Gheorghiu on Sep 20, 2008

  3. Thanks, Grig, just subscribed to the list. Also will refresh my subscription to the twill list to report the bug (and the fix) and ask about its git/svn.

    By Andrey Khavryuchenko on Sep 20, 2008

Post a Comment