mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-09-11 05:35:53 +03:00
Fix Hurl snippet.
This commit is contained in:
parent
1215da6610
commit
5aa6abd6db
@ -404,9 +404,10 @@ body contains "<h1>Welcome!</h1>"
|
||||
GET https://example.org/cn
|
||||
|
||||
HTTP 200
|
||||
[Asserts]
|
||||
header "Content-Type" == "text/html; charset=gb2312"
|
||||
bytes contains hex,c4e3bac3cac0bde7; # 你好世界 encoded in GB 2312
|
||||
body contains == "你好世界"
|
||||
body contains "你好世界"
|
||||
```
|
||||
|
||||
### Bytes assert
|
||||
|
Loading…
Reference in New Issue
Block a user