mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-12-21 01:51:57 +03:00
33 lines
648 B
Plaintext
33 lines
648 B
Plaintext
GET http://localhost:8000/charset/default
|
|
HTTP 200
|
|
Content-Type: text/html; charset=utf-8
|
|
`<p>Hello World!</p>`
|
|
|
|
|
|
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>"
|
|
|
|
|
|
GET http://localhost:8000/charset/uppercase
|
|
HTTP 200
|
|
Content-Type: text/html; charset=UTF-8
|
|
[Asserts]
|
|
body == "<p>Hello World!</p>"
|