We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In js/fetch you can access the raw body as a stream like so:
js/fetch
(let [res (<p! (js/fetch endpoint #js{...}))] (-> res .-body (.pipe dest)))
However, similar to #25, in lambdaisland/fetch it's not possible to access the raw body because it's always decoded first.
fetch/src/lambdaisland/fetch.cljs
Line 115 in 1fe9fab
The text was updated successfully, but these errors were encountered:
decode-body is a multimethod, we should add a no-op :raw option, so you can make a request :as :raw. A pr for that would be welcome.
:as :raw
Sorry, something went wrong.
No branches or pull requests
In
js/fetch
you can access the raw body as a stream like so:However, similar to #25, in lambdaisland/fetch it's not possible to access the raw body because it's always decoded first.
fetch/src/lambdaisland/fetch.cljs
Line 115 in 1fe9fab
The text was updated successfully, but these errors were encountered: