dscottboggs / mastodon-async

Mastodon Client for Rust
Other
34 stars 12 forks source link

User-agent missing in http requests #133

Open AkkermanD opened 8 months ago

AkkermanD commented 8 months ago

Hi there :wave: Merry Christmas :santa: :christmas_tree: Tried to use the mastodon-async with GoToSocial - ActivityPub server which implements subset of the Mastodon API. Faced a problem that it rejects requests if no user-agent header set. Not sure if this header should be required really, but I think it worth to add the user-agent into the default http client anyway. Any thoughts? I can prepare the PR if you're Ok to merge this change.