| 1 | <h2>Request header</h2> |
| 2 | <pre><code>GET http://localhost:9999/foo.html HTTP/1.1 |
| 3 | Accept-Language: fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3 |
| 4 | Accept-Encoding: gzip, deflate</code></pre> |
| 5 | |
| 6 | <h2>Response header</h2> |
| 7 | <pre><code>HTTP/1.1 200 OK |
| 8 | Server: GitHub.com |
| 9 | Date: Mon, 22 Dec 2014 18:25:30 GMT |
| 10 | Content-Type: text/html; charset=utf-8</code></pre> |
| 11 | |
| 12 | <h2>Response body highlighted based on Content-Type</h2> |
| 13 | <p>This currently supports the following content types : |
| 14 | "application/json", |
| 15 | "application/xml", |
| 16 | "text/xml" and |
| 17 | "text/html".</p> |
| 18 | <pre><code>HTTP/1.1 200 OK |
| 19 | Server: GitHub.com |
| 20 | Date: Mon, 22 Dec 2014 18:25:30 GMT |
| 21 | Content-Type: text/html; charset=utf-8 |
| 22 | Last-Modified: Sun, 21 Dec 2014 20:29:48 GMT |
| 23 | Transfer-Encoding: chunked |
| 24 | Expires: Mon, 22 Dec 2014 18:35:30 GMT |
| 25 | Cache-Control: max-age=600 |
| 26 | Vary: Accept-Encoding |
| 27 | Content-Encoding: gzip |
| 28 | |
| 29 | <!DOCTYPE html> |
| 30 | <html lang="en"> |
| 31 | <head></head> |
| 32 | <body></body> |
| 33 | </html></code></pre> |