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
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" http://​​ | gunzip   curl --header "​Accept-Encoding:​ gzip" http://​​ | 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