- From: Robin Berjon <robin@w3.org>
- Date: Thu, 08 Aug 2013 11:53:05 +0200
- To: James Graham <james@hoppipolla.co.uk>
- CC: public-test-infra@w3.org
On 08/08/2013 00:32 , James Graham wrote: > So, having looked at the code, and talked to the mozbase people, it > seems like this might not be the easiest path; it's based on > SimpleHTTPServer, which wants you to provide a response code, headers > dict and body string. That's just not flexibility for our purposes, so > it would be necessary to work around the existing behaviour to get what > we want. Actually, as demonstrated by gsnedders, you can overwride the SimpleHTTPServer behaviour to get asis-like control. See: http://hg.gsnedders.com/http-parsing/file/bbab4a6298d7/tests/response/response.py So it ought to be possible to start from there. -- Robin Berjon - http://berjon.com/ - @robinberjon
Received on Thursday, 8 August 2013 09:53:20 UTC