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
Version
web_warp v0.1.0 (/home/ubuntu/learn/rust/web_warp)
└── warp v0.3.5
Platform
Linux ubuntu 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Description
In the scenario where both request parameters and custom request methods are present, if the request parameters are incorrect while the request method is correct, the returned error will still be from the custom request method.
[short summary of the bug]
Bug summary: When both request parameters and custom request methods are present, if the request parameters are incorrect while the request method is correct, the error returned is still from the custom request method instead of indicating a parameter error.
I tried this code:
Version
web_warp v0.1.0 (/home/ubuntu/learn/rust/web_warp)
└── warp v0.3.5
Platform
Linux ubuntu 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Description
In the scenario where both request parameters and custom request methods are present, if the request parameters are incorrect while the request method is correct, the returned error will still be from the custom request method.
[short summary of the bug]
Bug summary: When both request parameters and custom request methods are present, if the request parameters are incorrect while the request method is correct, the error returned is still from the custom request method instead of indicating a parameter error.
I tried this code:
[curl command]
curl -X POST http://127.0.0.1:3030/custom
[Current Response]
Unhandled rejection: MethodError
I expected to see this happen: [explanation]
Request body deserialize error: EOF while parsing a value at line 1 column 0
The text was updated successfully, but these errors were encountered: