User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tips:linux:httppost [2009/06/08 08:47]
tips:linux:httppost [2012/06/02 06:09] (current)
Line 15: Line 15:
 to get a HEAD request. to get a HEAD request.
   curl --header "Accept-Encoding: gzip" | gunzip   curl --header "Accept-Encoding: gzip" | gunzip
-to get the compressed request.+to get the compressed request, or to verify that the request is compressed: 
 +  curl -I -H "Accept-Encoding: gzip,deflate"
 You can also pipe the resulting page to vim, using: You can also pipe the resulting page to vim, using:
tips/linux/httppost.1244476040.txt.gz · Last modified: 2012/06/02 06:09 (external edit)