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
In this commit there was moved part where we set method before copying additional headers. So, if we add some headers to the request, method is overwritten and it's always set to GET (that's why we see 405 response code on the endpoint that won't handle it).
You can check this fork for resolving this mysterious issue :)
The text was updated successfully, but these errors were encountered:
makubit
changed the title
Setting fastapi http method not working with additional headers set
Setting fastapi http method not working with additional headers
Jun 28, 2024
What version of bombardier are you using?
Current master (local build) -> 3ddcb83
It affects all of the architectures.
What did you do?
What you expected to happen?
Should return
2xx
response code.What actually happened?
In this commit there was moved part where we set method before copying additional headers. So, if we add some headers to the request, method is overwritten and it's always set to GET (that's why we see 405 response code on the endpoint that won't handle it).
You can check this fork for resolving this mysterious issue :)
The text was updated successfully, but these errors were encountered: