hurl/integration/tests_ok/headers.hurl
2022-11-11 14:25:00 +01:00

38 lines
785 B
Plaintext

GET http://localhost:8000/default-headers
HTTP 200
GET http://localhost:8000/default-headers
User-Agent: hurl/1.0
Host: localhost:8000 # comment
HTTP 200
GET http://localhost:8000/default-headers
User-Agent: hurl/1.0
Host: localhost:8000 # comment
HTTP 200
GET http://localhost:8000/custom-headers
Fruit: Raspberry
Fruit: Apple
Fruit: Banana
Fruit: Grape
Color: Green
HTTP 200
GET http://localhost:8000/custom-headers-utf8
Beverage: café # send the utf8 string - expected to be decoded as ascii in the server side
HTTP 200
GET http://localhost:8000/custom-headers-value
Id: \#123 # send a hash in the value
HTTP 200
GET http://localhost:8000/custom-headers-quote
Header1: '
HTTP 200
GET http://localhost:8000/response-headers
HTTP 200
Beverage: cafe # TBC send utf8