twill mishandles http equiv-refreshes?

September 20, 2008 – 01:03

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 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?

  • http://agiletesting.blogspot.com Grig Gheorghiu

    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

  • Andrey Khavryuchenko

    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.