Skip to content

Instantly share code, notes, and snippets.

@pganti
Created September 8, 2014 15:48
Show Gist options
  • Save pganti/ad6d4eb535978ea9c0f6 to your computer and use it in GitHub Desktop.
Save pganti/ad6d4eb535978ea9c0f6 to your computer and use it in GitHub Desktop.
quora
curl 'https://www.quora.com/' -H 'Accept-Encoding: gzip,deflate,sdch' -H 'Accept-Language: en-US,en;q=0.8,te;q=0.6' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.94 Safari/537.36' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8' -H 'Referer: https://www.quora.com/' -H 'Cookie: m-b="vh6clOCkDCCV63lQUrR6mw\075\075"; m-s="o4lgHVbr5szg3yj5YSnwAQ\075\075"; m-f=13BOttLojN3A55-6NFtVBBmOj8Yrq4mIGwZI; m-tz=420; _ga=GA1.2.1186190032.1410038449; RT=sl=1&ss=1410190855110&tt=1851&obo=0&dm=quora.com&si=8a2f85e0-4b5f-407c-9dc3-42ef315a415a&bcn=%2F%2F36f111f7.mpstat.us%2F&r=https%3A%2F%2Fwww.quora.com%2F&ul=1410190859713' -H 'Connection: keep-alive' --compressed
curl 'https://quora.com/' -H 'Accept-Encoding: gzip,deflate,sdch' -H 'Accept-Language: en-US,en;q=0.8,te;q=0.6' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.94 Safari/537.36' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8' -H 'Cookie: m-b="vh6clOCkDCCV63lQUrR6mw\075\075"; m-s="o4lgHVbr5szg3yj5YSnwAQ\075\075"; m-f=13BOttLojN3A55-6NFtVBBmOj8Yrq4mIGwZI; m-tz=420; _ga=GA1.2.1186190032.1410038449; RT=sl=2&ss=1410190855110&tt=3654&obo=0&dm=quora.com&si=8a2f85e0-4b5f-407c-9dc3-42ef315a415a&bcn=%2F%2F36f111f7.mpstat.us%2F&nu=https%3A%2F%2Fwww.quora.com%2F&cl=1410190877933&r=https%3A%2F%2Fwww.quora.com%2F&ul=1410190887304' -H 'Connection: keep-alive' --compressed
GET / HTTP/1.1
Host: quora.com
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8,te;q=0.6
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.94 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Cookie: m-b="vh6clOCkDCCV63lQUrR6mw\075\075"; m-s="o4lgHVbr5szg3yj5YSnwAQ\075\075"; m-f=13BOttLojN3A55-6NFtVBBmOj8Yrq4mIGwZI; m-tz=420; _ga=GA1.2.1186190032.1410038449; RT=sl=2&ss=1410190855110&tt=3654&obo=0&dm=quora.com&si=8a2f85e0-4b5f-407c-9dc3-42ef315a415a&bcn=%2F%2F36f111f7.mpstat.us%2F&nu=https%3A%2F%2Fwww.quora.com%2F&cl=1410190877933&r=https%3A%2F%2Fwww.quora.com%2F&ul=1410190887304
Connection: keep-alive
HTTP/1.1 200 OK
Server: nginx/1.0.14
Date: Mon, 08 Sep 2014 15:47:12 GMT
Content-Type: text/html; charset=utf-8
Connection: keep-alive
X-Frame-Options: SAMEORIGIN
Cache-Control: private, no-store, max-age=0, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Expires: Fri, 01 Jan 1990 00:00:00 GMT
X-UA-Compatible: IE=Edge, chrome=1
Content-Encoding: gzip
Content-Length: 39246
---
GET / HTTP/1.1
Host: www.quora.com
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8,te;q=0.6
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.94 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Cookie: m-b="vh6clOCkDCCV63lQUrR6mw\075\075"; m-s="o4lgHVbr5szg3yj5YSnwAQ\075\075"; m-f=13BOttLojN3A55-6NFtVBBmOj8Yrq4mIGwZI; m-tz=420; _ga=GA1.2.1186190032.1410038449; RT=sl=2&ss=1410190855110&tt=3654&obo=0&dm=quora.com&si=8a2f85e0-4b5f-407c-9dc3-42ef315a415a&bcn=%2F%2F36f111f7.mpstat.us%2F&nu=https%3A%2F%2Fwww.quora.com%2F&cl=1410190877933&r=https%3A%2F%2Fwww.quora.com%2F&ul=1410190887304
Connection: keep-alive
HTTP/1.1 200 OK
Content-Type: text/html; charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive
Date: Mon, 08 Sep 2014 15:45:58 GMT
Vary: User-Agent
Vary: Accept-Encoding
Content-Encoding: gzip
Expires: Fri, 01 Jan 1990 00:00:00 GMT
Cache-Control: private, no-store, max-age=0, no-cache, must-revalidate, post-check=0, pre-check=0
X-Frame-Options: SAMEORIGIN
Server: PasteWSGIServer/0.5 Python/2.7.2
X-UA-Compatible: IE=Edge, chrome=1
Pragma: no-cache
X-Instart-Request-ID: 633176472368931950:FWP01-NPPRY11:1410191158:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment