Skip to content

Instantly share code, notes, and snippets.

@JacksonTian
Created January 5, 2015 02:39
Show Gist options
  • Save JacksonTian/e21f85db4f4cce893ccf to your computer and use it in GitHub Desktop.
Save JacksonTian/e21f85db4f4cce893ccf to your computer and use it in GitHub Desktop.

Revisions

  1. JacksonTian created this gist Jan 5, 2015.
    18 changes: 18 additions & 0 deletions test.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,18 @@
    ```shell
    $ curl -v "http://localhost:1334/path/to/file?key=word"
    * Hostname was NOT found in DNS cache
    * Trying ::1...
    * Connected to localhost (::1) port 1334 (#0)
    > GET /path/to/file?key=word HTTP/1.1
    > User-Agent: curl/7.37.1
    > Host: localhost:1334
    > Accept: */*
    >
    < HTTP/1.1 200 OK
    < Date: Mon, 05 Jan 2015 02:39:04 GMT
    < Connection: keep-alive
    < Transfer-Encoding: chunked
    <
    hello world
    * Connection #0 to host localhost left intact
    ```