Reputation: 11
Is it possible to send gzip'd HTTP POST requests in Paw?
I have accept-encoding, content-encoding set to gzip but it seems to be not enough to get it to work.
POST / HTTP/1.1
Content-Type: application/json
Content-Encoding: gzip
Accept: application/json
Accept-Encoding: gzip
X-Protocol-Version: 2
User-Agent: test-ua
Host: host123:8080
Connection: close
Content-Length: 120
[{"user-id":"123","p-id":"1"}]
Upvotes: 1
Views: 1022
Reputation: 31
I can confirm that. It is not possible at the moment to send gzip'ed body automatically. If you use "Content-Encoding: gzip" you must gzip the body and drop the file into Paw. Paw is sending the gzip'ed body without any issue. I am using Paw version 2.2.5.
Upvotes: 1
Reputation: 11450
I think you need to gzip the body yourself and then paste it in. I could be wrong and if so would love this auto gzip feature!
Upvotes: 0