Skip to content

Instantly share code, notes, and snippets.

@artemf
Created March 27, 2015 02:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save artemf/9e97c0074d29359959b2 to your computer and use it in GitHub Desktop.
Save artemf/9e97c0074d29359959b2 to your computer and use it in GitHub Desktop.
CURL request to css with headers via VPN
artemf$ curl -vs --compressed http://glavdigest.ru/assets/application-dbf66ede5cbd79b735916ac1a6c740c4.css -o /dev/null
* Adding handle: conn: 0x7ff683000000
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0x7ff683000000) send_pipe: 1, recv_pipe: 0
* About to connect() to glavdigest.ru port 80 (#0)
* Trying 103.245.222.249...
* Connected to glavdigest.ru (103.245.222.249) port 80 (#0)
> GET /assets/application-dbf66ede5cbd79b735916ac1a6c740c4.css HTTP/1.1
> User-Agent: curl/7.30.0
> Host: glavdigest.ru
> Accept: */*
> Accept-Encoding: deflate, gzip
>
< HTTP/1.1 200 OK
* Server nginx/1.4.4 is not blacklisted
< Server: nginx/1.4.4
< Content-Type: text/css
< Content-Encoding: gzip
< Expires: Thu, 31 Dec 2037 23:55:55 GMT
< Cache-Control: max-age=315360000, public
< Content-Length: 19387
< Accept-Ranges: bytes
< Date: Fri, 27 Mar 2015 02:33:05 GMT
< Via: 1.1 varnish
< Age: 670
< Connection: keep-alive
< X-Served-By: cache-sn87-SIN
< X-Cache: HIT
< X-Cache-Hits: 1
< X-Timer: S1427423585.935152,VS0,VE2
< Vary: Accept-Encoding
<
{ [data not shown]
* Connection #0 to host glavdigest.ru left intact
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment