User Tools

Site Tools



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

Link to this comparison view

Both sides previous revisionPrevious revision
tips:linux:httppost [2009/06/08 08:47] eriktips:linux:httppost [2012/06/02 06:09] (current) erik
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.txt · Last modified: 2012/06/02 06:09 by erik