hurl/integration/tests_ok/charset.hurl

33 lines
648 B
Plaintext
Raw Normal View History

2022-07-05 14:55:08 +03:00
GET http://localhost:8000/charset/default
2022-11-11 16:25:00 +03:00
HTTP 200
2022-07-05 14:55:08 +03:00
Content-Type: text/html; charset=utf-8
2022-12-02 22:50:27 +03:00
`<p>Hello World!</p>`
2022-07-05 14:55:08 +03:00
2023-05-26 14:45:29 +03:00
GET http://localhost:8000/charset/latin1
HTTP 200
Content-Type: text/html; charset=latin1
[Asserts]
body == "<p>café</p>"
GET http://localhost:8000/charset/gb2312
HTTP 200
Content-Type: text/html; charset=gb2312
[Asserts]
body == "<p>你好世界</p>"
GET http://localhost:8000/charset/cp1256
HTTP 200
Content-Type: text/html; charset=cp1256
[Asserts]
body == "<p>مرحبا بالعالم</p>"
2022-07-05 14:55:08 +03:00
GET http://localhost:8000/charset/uppercase
2022-11-11 16:25:00 +03:00
HTTP 200
2022-07-05 14:55:08 +03:00
Content-Type: text/html; charset=UTF-8
[Asserts]
body == "<p>Hello World!</p>"