mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-09-11 05:35:53 +03:00
Update docs with HTTP/3
This commit is contained in:
parent
e504f5458e
commit
fe39f031b9
@ -661,11 +661,11 @@ certificate "Serial-Number" matches /[\da-f]+/
|
||||
|
||||
### HTTP Version
|
||||
|
||||
Testing HTTP version (1.0, 1.1 or 2):
|
||||
Testing HTTP version (1.0, 1.1, 2 or 3):
|
||||
|
||||
```hurl
|
||||
GET https://example.org/order/435
|
||||
HTTP/2 200
|
||||
HTTP/3 200
|
||||
```
|
||||
|
||||
[Doc](https://hurl.dev/docs/asserting-response.html#version-status)
|
||||
|
@ -25,7 +25,7 @@ jsonpath "$.cats[0].lives" == 9
|
||||
|
||||
Expected protocol version and status code of the HTTP response.
|
||||
|
||||
Protocol version is one of `HTTP/1.0`, `HTTP/1.1`, `HTTP/2` or
|
||||
Protocol version is one of `HTTP/1.0`, `HTTP/1.1`, `HTTP/2`, `HTTP/3` or
|
||||
`HTTP`; `HTTP` describes any version. Note that there are no status text following the status code.
|
||||
|
||||
```hurl
|
||||
@ -45,7 +45,7 @@ status > 400
|
||||
status <= 500
|
||||
```
|
||||
|
||||
While `HTTP/1.0`, `HTTP/1.1` and `HTTP/2` explicitly check HTTP version:
|
||||
While `HTTP/1.0`, `HTTP/1.1`, `HTTP/2` and `HTTP/3` explicitly check HTTP version:
|
||||
|
||||
```hurl
|
||||
# Check that our server responds with HTTP/2
|
||||
|
@ -410,11 +410,11 @@ certificate "Serial-Number" matches /[\da-f]+/
|
||||
|
||||
### HTTP Version
|
||||
|
||||
Testing HTTP version (1.0, 1.1 or 2):
|
||||
Testing HTTP version (1.0, 1.1, 2 or 3):
|
||||
|
||||
```hurl
|
||||
GET https://example.org/order/435
|
||||
HTTP/2 200
|
||||
HTTP/3 200
|
||||
```
|
||||
|
||||
[Doc](/docs/asserting-response.md#version-status)
|
||||
|
@ -653,11 +653,11 @@ certificate "Serial-Number" matches /[\da-f]+/
|
||||
|
||||
### HTTP Version
|
||||
|
||||
Testing HTTP version (1.0, 1.1 or 2):
|
||||
Testing HTTP version (1.0, 1.1, 2 or 3):
|
||||
|
||||
```hurl
|
||||
GET https://example.org/order/435
|
||||
HTTP/2 200
|
||||
HTTP/3 200
|
||||
```
|
||||
|
||||
[Doc](https://hurl.dev/docs/asserting-response.html#version-status)
|
||||
|
Loading…
Reference in New Issue
Block a user