summaryrefslogtreecommitdiff
path: root/tests/examplefiles/http_request_example
diff options
context:
space:
mode:
authorHong Minhee <minhee@dahlia.kr>2011-12-13 10:04:15 +0900
committerHong Minhee <minhee@dahlia.kr>2011-12-13 10:04:15 +0900
commitb8a7fefafe6d0bf17d21115ef08071ad18490afe (patch)
treeb14fa2fa8e5a43bb9805ab3acbc99a6a2acce747 /tests/examplefiles/http_request_example
parent254267afdd6a9609ec62948a3ef23084f338dfbc (diff)
downloadpygments-b8a7fefafe6d0bf17d21115ef08071ad18490afe.tar.gz
add http lexer and examples for it
Diffstat (limited to 'tests/examplefiles/http_request_example')
-rw-r--r--tests/examplefiles/http_request_example14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/examplefiles/http_request_example b/tests/examplefiles/http_request_example
new file mode 100644
index 00000000..5d2a1d52
--- /dev/null
+++ b/tests/examplefiles/http_request_example
@@ -0,0 +1,14 @@
+POST /demo/submit/ HTTP/1.1
+Host: pygments.org
+Connection: keep-alivk
+Cache-Control: max-age=0
+Origin: http://pygments.org
+User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_2) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.63 Safari/535.7
+Content-Type: application/x-www-form-urlencoded
+Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
+Referer: http://pygments.org/
+Accept-Encoding: gzip,deflate,sdch
+Accept-Language: en-US,en;q=0.8
+Accept-Charset: windows-949,utf-8;q=0.7,*;q=0.3
+
+name=test&lang=text&code=asdf&user=