~didrocks/+junk/face-detection-15.04

« back to all changes in this revision

Viewing changes to facedetection/www/bower_components/prism/tests/languages/http/request-line_feature.test

  • Committer: Didier Roche
  • Date: 2016-05-10 23:09:11 UTC
  • Revision ID: didier.roche@canonical.com-20160510230911-c7xr490zrj3yrzxd
New version

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
POST http://example.com HTTP/1.0
 
2
GET http://localhost:9999/foo.html HTTP/1.1
 
3
PUT http://www.example.com HTTP/2.0
 
4
DELETE https://example.com HTTP/1.1
 
5
OPTIONS https://www.example.com HTTP/1.1
 
6
PATCH http://example.com HTTP/1.0
 
7
TRACE http://example.com HTTP/1.0
 
8
CONNECT http://example.com HTTP/1.0
 
9
 
 
10
----------------------------------------------------
 
11
 
 
12
[
 
13
        ["request-line", [
 
14
                ["property", "POST"],
 
15
                " http://example.com HTTP/1.0"
 
16
        ]],
 
17
        ["request-line", [
 
18
                ["property", "GET"],
 
19
                " http://localhost",
 
20
                ["attr-name", ":9999"],
 
21
                "/foo.html HTTP/1.1"
 
22
        ]],
 
23
        ["request-line", [
 
24
                ["property", "PUT"],
 
25
                " http://www.example.com HTTP/2.0"
 
26
        ]],
 
27
        ["request-line", [
 
28
                ["property", "DELETE"],
 
29
                " https://example.com HTTP/1.1"
 
30
        ]],
 
31
        ["request-line", [
 
32
                ["property", "OPTIONS"],
 
33
                " https://www.example.com HTTP/1.1"
 
34
        ]],
 
35
        ["request-line", [
 
36
                ["property", "PATCH"],
 
37
                " http://example.com HTTP/1.0"
 
38
        ]],
 
39
        ["request-line", [
 
40
                ["property", "TRACE"],
 
41
                " http://example.com HTTP/1.0"
 
42
        ]],
 
43
        ["request-line", [
 
44
                ["property", "CONNECT"],
 
45
                " http://example.com HTTP/1.0"
 
46
        ]]
 
47
]
 
48
 
 
49
----------------------------------------------------
 
50
 
 
51
Checks for request lines.
 
 
b'\\ No newline at end of file'