The duplex
member must be specified for a request with a streaming body
#1729
Labels
duplex
member must be specified for a request with a streaming body
#1729
Description
This is my first time seeing this issue after using this library for a while. But I've noticed that when I do a POST to an endpoint, like:
It raises this error:
...which seems odd, considering I'm just passing in a simple object. I'm also doing a couple GETs and those work just fine.
Reproduction
This seems to only happen in Chrome. I'm using Version 125.0.6422.141 (Official Build) (64-bit). In Firefox (127.0.1 (64-bit)) this works as expected. I've also tried using a
bodySerializer
w/JSON.stringify
-ing the object.I'm using FastAPI as the backend using a simple endpoint that basically does nothing:
Note that this endpoint doesn't actually get hit by the client. It's failing before the request is sent. The relevant OpenAPI stuff looks like this:
with Row-Input looking like:
Expected result
It should do a POST
Checklist
I can do a PR if I can figure out what is happening.
The text was updated successfully, but these errors were encountered: