Skip to content
This repository has been archived by the owner on Nov 23, 2020. It is now read-only.

Set wsgi.input to BytesIO before some of the parsers will fail #155

Merged
merged 1 commit into from
Jul 28, 2015

Conversation

artemmus
Copy link
Contributor

This change gives possible to get raw input data from WsgiRequest if some of parsers (used for application/json or form content type) fails due to format error. This is useful for logging, for example.

lsbardel added a commit that referenced this pull request Jul 28, 2015
Set wsgi.input to BytesIO before some of the parsers will fail
@lsbardel lsbardel merged commit 0eebbc3 into quantmind:dev Jul 28, 2015
@lsbardel
Copy link
Member

Thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants