hurl/integration/tests_ok/headers.hurl

38 lines
785 B
Plaintext
Raw Normal View History

2020-08-27 10:07:46 +03:00
GET http://localhost:8000/default-headers
2022-11-11 16:25:00 +03:00
HTTP 200
2020-08-27 10:07:46 +03:00
GET http://localhost:8000/default-headers
User-Agent: hurl/1.0
2020-09-15 14:48:58 +03:00
Host: localhost:8000 # comment
2022-11-11 16:25:00 +03:00
HTTP 200
2020-08-27 10:07:46 +03:00
GET http://localhost:8000/default-headers
User-Agent: hurl/1.0
2020-09-15 14:48:58 +03:00
Host: localhost:8000 # comment
2022-11-11 16:25:00 +03:00
HTTP 200
2020-08-27 10:07:46 +03:00
GET http://localhost:8000/custom-headers
Fruit: Raspberry
Fruit: Apple
Fruit: Banana
Fruit: Grape
Color: Green
2022-11-11 16:25:00 +03:00
HTTP 200
2020-08-27 10:07:46 +03:00
GET http://localhost:8000/custom-headers-utf8
Beverage: café # send the utf8 string - expected to be decoded as ascii in the server side
2022-11-11 16:25:00 +03:00
HTTP 200
2020-08-27 10:07:46 +03:00
2021-09-10 09:37:15 +03:00
GET http://localhost:8000/custom-headers-value
Id: \#123 # send a hash in the value
2022-11-11 16:25:00 +03:00
HTTP 200
2021-09-10 09:37:15 +03:00
GET http://localhost:8000/custom-headers-quote
Header1: '
2022-11-11 16:25:00 +03:00
HTTP 200
2020-08-27 10:07:46 +03:00
GET http://localhost:8000/response-headers
2022-11-11 16:25:00 +03:00
HTTP 200
Beverage: cafe # TBC send utf8