Closed
Description
Currently, there is no way to manually construct a client::Response
without going through the http Client
. It would be nice if it was possible to simply load a response from a file. Right now, the only way to do that would be to write a custom connector that loads the file and ignores the passed Uri
, but that seems kind of ugly to me?
Also, in the same vein, it would be nice if there was a way to write a Response
to a file. This seems very hard right now. You can do it with a custom connector, but that really does not feel like the right level because you'd have to handle things like reuse of connections and parsing the URL out of the request bytes (so you have one extract parsing step that is unnecessary).
Metadata
Metadata
Assignees
Labels
No labels