Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix wsgi.input lookup and demonstrate unit tests that need a request body #731

Closed
wants to merge 3 commits into from

Conversation

atcol
Copy link
Contributor

@atcol atcol commented Mar 9, 2015

Regarding issue #727 . I've fixed the runtime error by first creating a failing test which also demonstrates (for users of bottle.py) how to unit test a route function that uses a body. I couldn't personally see this anywhere on the web or in bottle.py's documentation.

Hopefully this is useful and to conventions/tastes of the project. I will happily provide a short documentation paragraph for the docs on bottlepy.org but have yet to work out how to do so.

@atcol
Copy link
Contributor Author

atcol commented Mar 9, 2015

Committed a version check fix for the unit test module.

@atcol
Copy link
Contributor Author

atcol commented Mar 9, 2015

Closing. Resubmitting from a feature branch as-per the developer guidelines.

@atcol atcol closed this Mar 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant