Skip to content

Instantly share code, notes, and snippets.

@paramah
Created October 3, 2013 17:31
Show Gist options
  • Save paramah/6813719 to your computer and use it in GitHub Desktop.
Save paramah/6813719 to your computer and use it in GitHub Desktop.

Revisions

  1. paramah created this gist Oct 3, 2013.
    53 changes: 53 additions & 0 deletions gistfile1.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,53 @@
    paramah@lobo ~> GET "http://fakty.tvn.pl/"
    HTTP/1.1 302 Found
    Accept-Ranges: bytes
    Age: 44
    Connection: keep-alive
    Content-Encoding: gzip
    Content-Length: 190
    Content-Type: text/html; charset=iso-8859-1
    Date: Thu, 03 Oct 2013 17:29:48 GMT
    Location: http://www.tvn24.pl/fakty.html
    Server: Apache
    Vary: Accept-Encoding
    Via: 1.1 varnish
    X-Varnish: HV109W109

    <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <html><head>
    <title>302 Found</title>
    </head><body>
    <h1>Found</h1>
    <p>The document has moved <a href="http://www.tvn24.pl/fakty.html">here</a>.</p>
    </body></html>

    paramah@lobo ~> GET "http://www.tvn24.pl/fakty.html"
    HTTP/1.1 301 Moved Permanently
    Accept-Ranges: bytes
    Age: 477
    Connection: keep-alive
    Content-Encoding: gzip
    Content-Length: 192
    Content-Type: text/html; charset=UTF-8
    Date: Thu, 03 Oct 2013 17:29:51 GMT
    Server: Apache
    Vary: Accept-Encoding
    Via: 1.1 varnish
    X-Varnish: HV113W113
    cache-control: max-age=3600, public, s-maxage=3600
    location: http:///

    <!DOCTYPE html>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="refresh" content="1;url=http:///" />

    <title>Redirecting to http:///</title>
    </head>
    <body>
    Redirecting to <a href="http:///">http:///</a>.
    </body>
    </html>

    paramah@lobo ~>