Blame view

bower_components/prism/tests/languages/http/response-status_feature.test 554 Bytes
eb240478   Luigi Serra   public room cards...
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
29
  HTTP/1.0 200 OK

  HTTP/1.1 403 Forbidden

  HTTP/1.1 404 Not Found

  HTTP/1.0 418 I'm a teapot

  

  ----------------------------------------------------

  

  [

  	["response-status", [

  		"HTTP/1.0 ",

  		["property", "200 OK"]

  	]],

  	["response-status", [

  		"HTTP/1.1 ",

  		["property", "403 Forbidden"]

  	]],

  	["response-status", [

  		"HTTP/1.1 ",

  		["property", "404 Not Found"]

  	]],

  	["response-status", [

  		"HTTP/1.0 ",

  		["property", "418 I'm a teapot"]

  	]]

  ]

  

  ----------------------------------------------------

  

  Checks for response statuses.