Replace ureq with attohttpc
Closed this issue · 4 comments
InputUsername commented
The same person also mentioned ureq should work fine for api.listenbrainz.org, but I'd have to investigate that. ureq might still break for other hosts though, so maybe attohttpc is the best option regardless.
Thoughts?
shymega commented
Hm. I'm not sure myself but as ureq
works on api.listenbrainz.org
, we don't know for sure that it'll work on alternative hosts. So, we either do more investigations with ureq
and alternate hosts, or we switch to attohttpc
completely and bypass proper testing.
InputUsername commented
I say we go with attohttpc then.
shymega commented
OK, so we'll have to rewrite the agent
calls in raw/client.rs
module. Can I leave that to you? Once that's done, there shouldn't be any other usages of ureq
, as the crate abstracts over the client.