Re: Potentially inconsistent behavior between test client and normal WSGI requests

2015-04-26 Thread Matt Hooks
> > > > On Saturday, April 25, 2015 at 8:46:58 AM UTC+2, Matt Hooks wrote: >> >> I'm not really familiar with the design ideals of the Django devs or the >> WSGI spec. From what I can tell, the spec doesn't specify whether the url >> should be unquoted befor

Re: Potentially inconsistent behavior between test client and normal WSGI requests

2015-04-24 Thread Matt Hooks
o. The gevent ones dont play nice with my python3 install.) On Friday, April 24, 2015 at 5:07:59 PM UTC-4, Florian Apolloner wrote: > > > > On Friday, April 24, 2015 at 10:51:12 PM UTC+2, Matt Hooks wrote: >> >> (The behavior of the development server is similar to the test

Potentially inconsistent behavior between test client and normal WSGI requests

2015-04-24 Thread Matt Hooks
Hi all, As I was fixing an issue in our API related to url encodings, I noticed a problem should have been caught by a test that was somehow passing. (Remember, make sure your test can fail!) If you had some path /some/path/Spam%20Ham, and a URL pattern to capture /some/path/(?P.+)$, it's not