Last modified: 2009-03-16 13:48:47 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T19994, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 17994 - How to specify _request's_ POST data in gzip format?
How to specify _request's_ POST data in gzip format?
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Roan Kattouw
http://www.mediawiki.org/wiki/API:Cli...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-03-15 23:41 UTC by neurocod
Modified: 2009-03-16 13:48 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description neurocod 2009-03-15 23:41:39 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.
Comment 1 Roan Kattouw 2009-03-16 13:48:47 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links