Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(400)

Side by Side Diff: lib/src/prism/tests/languages/http/request-line_feature.test

Issue 1418513006: update elements and fix some bugs (Closed) Base URL: git@github.com:dart-lang/polymer_elements.git@master
Patch Set: code review updates Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698