8000 Release v3.0 by jacebrowning · Pull Request #135 · flask-api/flask-api · GitHub
[go: up one dir, main page]

Skip to content

Release v3.0 #135

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

Merged
merged 11 commits into from
Jun 15, 2021
2 changes: 1 addition & 1 deletion flask_api/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
from flask_api.app import FlaskAPI

__version__ = '3.0b5'
__version__ = '3.0b6'
2 changes: 2 additions & 0 deletions flask_api/request.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,8 @@ def _perform_method_overloading(self):
Also provides support for browser non-form requests (eg JSON),
by specifing '_content' and '_content_type' form fields.
"""
if not hasattr(self, '_method'):
self.method = super().method
self._stream = super().stream
self._content_type = self.headers.get('Content-Type')
self._content_length = get_content_length(self.environ)
Expand Down
0