Skip to content

Conversation

stokarenko
Copy link
Contributor

Nothing special, just adding ::FaradayMiddleware::Gzip Faraday middleware in order to take an advantage of Gzipped response body )

@stokarenko
Copy link
Contributor Author

@gaorlov Hi again )

Is there a chance to merge this? )

@gaorlov
Copy link
Collaborator

gaorlov commented Sep 23, 2019

Absolutely! I'll have it out by end of day tomorrow! Thanks for the work!

@stokarenko
Copy link
Contributor Author

stokarenko commented Sep 24, 2019

FYI regarding to server side - default router (dokku, k8s etc) will not Gzip JSON-API responses because of custom application/vnd.api+json mime type which differs from supported by default application/json one. Typically it's needed to apply some Ops efforts before you will see Gzipping in action )

@stokarenko
Copy link
Contributor Author

Probably we can add this hint in readme )

@gaorlov gaorlov merged commit a2c2fb4 into JsonApiClient:master Sep 24, 2019
@gaorlov
Copy link
Collaborator

gaorlov commented Sep 24, 2019

@stokarenko 1.16.0 is now live. Sorry about the delay and thanks once again for your hard work!

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.

2 participants