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
As mentioned in #87, it might be of interest to allow matching a request on files being sent.
What do we want to match on?
Is it even possible once internal HTTPX request is built.
route=respx.post("https://example.org/", files=?)
Since uploading files with HTTPX supports multiple arg types, it might only be possible to match on file names, if given. Reading a file object's content could affect HTTPX internals, if not handled properly, like reseting seek point etc.
As mentioned in #87, it might be of interest to allow matching a request on files being sent.
HTTPX
request is built.Since uploading files with
HTTPX
supports multiple arg types, it might only be possible to match on file names, if given. Reading a file object's content could affectHTTPX
internals, if not handled properly, like reseting seek point etc.Needs further investigation, multiple files.
The text was updated successfully, but these errors were encountered: