angular-http-server icon indicating copy to clipboard operation
angular-http-server copied to clipboard

Add support for deflate and gzip compression

Open oderayi opened this issue 6 years ago • 1 comments

closes: https://github.com/simonh1000/angular-http-server/issues/26

This change is to add compression (gzip and deflate) support for content ['application/javascript', 'application/json', 'text/html', 'text/css'] automatically (without a command line switch) based on the Accept-Encoding request header entry.

Didn't have much time to write the tests but, my instinct tells me it works. Might need a bit of optimization here and there.

oderayi avatar Aug 10 '19 14:08 oderayi

@oderayi can you provide some answers so that I can merge?

simonh1000 avatar Apr 23 '20 16:04 simonh1000