sat icon indicating copy to clipboard operation
sat copied to clipboard

Expose response metadata on the HTTP response

Open flaki opened this issue 2 years ago • 0 comments

We currently have no way to access response metadata (status code, headers) in http.* runnable API calls, this limits some usecases such as makes it impossible to follow redirects.

JS & TS method calls return a HTTPResponse object which has methods for various output formats (binary, text, JSON), while Rust for example only produces a binary stream here.

JS (Javy) support is tracked in suborbital/javy#20

flaki avatar Jul 28 '22 15:07 flaki