← Back to team overview

dulwich-users team mailing list archive

Re: [PATCH] Support for gzip-encoded data in wsgi server

 

On Sat, Mar 5, 2011 at 6:58 PM, David Blewett <david@xxxxxxxxxxxxxxxx> wrote:
> Makes sense. My concern was that it seems wrong for
> handle_service_request to need to know this. It is handled in the
> dul-web case because we wrap wsgi.input with the LengthLimitedInput
> middleware, so everything works. Do the tests need to have similar
> logic?

Yeah, it seems with the attached patch that we can remove any custom
logic from handle_service_request. This adds a call to
SmartWebTestCase._make_app to wrap the returned app in
LengthLimitedInput.

Now, gmake check runs fine with no hangs.

-- 
Thanks,

David Blewett

Attachment: gzipfilter-v2.diff
Description: Binary data


Follow ups

References