Skip to content

Conversation

@Sytten
Copy link
Contributor

@Sytten Sytten commented Dec 27, 2025

I checked that all providers currently use JSON for the initial request.
I think to make things cleaner we should create a wrapper Json that implements Into<Bytes> but also implement a trait like:

trait ContentType {
    fn content_type -> &'static str
}

That way the HttpClient doesn't have to guess.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant