HTTP Compression

Is it possible to send POST request data from a browser to a server in a compressed format? If so, how can we do this?

+5
source share
2 answers

Compressing data sent from the browser to the server is not supported in browsers.

You need to find a workaround using the client language (perhaps an implementation of JavaScript GZip or a Java applet or ...). Be sure to visually show the user what the browser does and why it takes some time.

I don’t know the scope of your application, but on company websites you can simply limit input to compressed files. Ask your users to download .zip / .7z / .rar / .... files.

+2
source

- > gzip .

client- > server , . POST , JavaScript. .

, , , . , .

0

All Articles