Last modified: 2009-03-16 13:48:47 UTC
How to specify in request to api.php, that _request's_ POST data is in gzip format? Need some http-headers to add? I use C++/Qt, which has support of gzip compression. Response from server in gzip format my code uncompreses normally. But if I compress POST data in request, server response contains error tag with documentation. Can client POST data in compressed form? I looked with sniffer for some short time for network traffic of one-year old version of pywikipedia framework, but could not catch post data in gzip format, only server response was compressed.
You're supposed to send the request POST data in uncompressed form; since it's usually small compared to the response, there's not use in compressing it.