8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 013c1b7 + ed161e6 commit 751120fCopy full SHA for 751120f
flask_api/__init__.py
@@ -1,3 +1,3 @@
1
from flask_api.app import FlaskAPI
2
3
-__version__ = '3.0b5'
+__version__ = '3.0b6'
flask_api/request.py
@@ -142,6 +142,8 @@ def _perform_method_overloading(self):
142
Also provides support for browser non-form requests (eg JSON),
143
by specifing '_content' and '_content_type' form fields.
144
"""
145
+ if not hasattr(self, '_method'):
146
+ self.method = super().method
147
self._stream = super().stream
148
self._content_type = self.headers.get('Content-Type')
149
self._content_length = get_content_length(self.environ)
0 commit comments