You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I consistently get the error "TypeError: cannot concatenate 'str' and 'NoneType' objects" whenever I send a multipart form from anywhere that's not an HTML
.
For example AndroidQuery's, Apache HttpClient, and the Chrome Postman plugin all give this error.
Trace:
File "C:\Python27\lib\site-packages\werkzeug\formparser.py", line 382, in parse_lines
next_part = b'--' + boundary
The text was updated successfully, but these errors were encountered:
As it turns out, I was setting the Content-Type manually in each of these cases, which meant the form boundaries weren't correct. You can safely ignore this.
I consistently get the error "TypeError: cannot concatenate 'str' and 'NoneType' objects" whenever I send a multipart form from anywhere that's not an HTML
.For example AndroidQuery's, Apache HttpClient, and the Chrome Postman plugin all give this error.
Trace:
File "C:\Python27\lib\site-packages\werkzeug\formparser.py", line 382, in parse_lines
next_part = b'--' + boundary
The text was updated successfully, but these errors were encountered: