Response type needs to have a different body type
Open
- Dominant language
- Gleam
- Stars
- 175
- Forks
- 31
- PR merge metrics
- No merged PRs in 30d
Description
currently the return type from `httpc.send` is `Response(String)`
https://hexdocs.pm/gleam_httpc/gleam/httpc/#send
This has been causing me runtime errors because I can use httpc to fetch resources like images, e.g. favicons which to not have a string body. I think the correct thing to do is `Response(BitString)`
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.