summaryrefslogtreecommitdiffstats
path: root/tests/snippets/http/test_application_xml.txt
blob: 97b29435e797eb9c64b13f52ace1fe452a235c6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
---input---
GET / HTTP/1.0
Content-Type: application/xml

<foo>

---tokens---
'GET'         Name.Function
' '           Text
'/'           Name.Namespace
' '           Text
'HTTP'        Keyword.Reserved
'/'           Operator
'1.0'         Literal.Number
'\n'          Text

'Content-Type' Name.Attribute
''            Text
':'           Operator
' '           Text
'application/xml' Literal
'\n'          Text

'\n'          Text

'<foo'        Name.Tag
'>'           Name.Tag
'\n'          Text.Whitespace