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
Upload with multipart/form-data fails when schema validation is enabled. Exception "ValueError: Could not find starting boundary b'--somestuff' thrown when trying to access multipart info.
Long story short
Upload with multipart/form-data fails when schema validation is enabled. Exception
"ValueError: Could not find starting boundary b'--somestuff'
thrown when trying to access multipart info.Steps to reproduce
Get sample server code from (https://github.com/romado77/upload_test.git)
Run client with path where validation via
rororo
is enabled:curl --location --request POST 'http://localhost:8080/api/v1/'
--form 'someinfo="sdjkhflksjhdflkjhlkjh"'
--form 'file=@"./test.zip"'
Result: exception, no data in StreamReader
curl --location --request POST 'http://localhost:8080/api/v2/'
--form 'someinfo="sdjkhflksjhdflkjhlkjh"'
--form 'file=@"./test.zip"'
Result: file upload is ok
Environment
Python - 3.8.5
aiohttp - 3.7.3
rororo - 2.2.0
The text was updated successfully, but these errors were encountered: