New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deflate/gunzip #23
Comments
It's a great idea, though not at the top of my list for the roadmap. Would welcome a PR if you want to take a stab at it. |
Looks like http://nodeca.github.io/pako/ does exactly this. Perhaps it would be worth figuring out if the two can work together so as to keep as much as possible outside of axios core. |
@jimthedev thanks for the tip. I'll take a look at it. |
@jimthedev @OliverJAsh I think I would recommend keeping this functionality out of axios. I want to keep the bloat down as much as possible from the core. Minified pako is 44k vs axios minified is 15k. Should be able to easily create an interceptor to inflate/deflate requests as needed. |
Sounds good. On Sun, Jan 25, 2015 at 3:21 PM, Matt Zabriskie notifications@github.com
|
It would be nice to see support for deflating/gunzipping requests. Have you thought about this?
The text was updated successfully, but these errors were encountered: