[TIP] How to use wsgi_intercept & httplib ?

Olemis Lang olemis at gmail.com
Wed Apr 7 07:48:14 PDT 2010


On Wed, Apr 7, 2010 at 10:37 AM, C. Titus Brown <ctb at msu.edu> wrote:
> On Wed, Apr 07, 2010 at 09:49:26AM -0400, Olemis Lang wrote:
>> I read Grig's article [1]_ where he mentions that twill's
>> `wsgi_intercept` mocks httplib under the hood. I tried to use it
>> directly and something is not working .
>
> Hi, Olemis,
>

:o)

> the twill 'add_wsgi_intercept' function installs the handler for twill
> only.  You need to use a different wsgi_intercept function; see the
> example on the main page of
>
>        http://code.google.com/p/wsgi-intercept/
>

I knew ! Something 's hiding my local thingies !

:o)

Seriously : Thnx ! I'll take a look ...

-- 
Regards,

Olemis.

Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/

Featured article:



More information about the testing-in-python mailing list