Updates REST API examples to HTTP/2 (#6002)
This commit is contained in:
@@ -37,7 +37,7 @@ If an image is showing up in your browser but not on {% data variables.product.p
|
||||
2. Request the image headers using `curl`.
|
||||
```shell
|
||||
$ curl -I https://www.my-server.com/images/some-image.png
|
||||
> HTTP/1.1 200 OK
|
||||
> HTTP/2 200
|
||||
> Date: Fri, 06 Jun 2014 07:27:43 GMT
|
||||
> Expires: Sun, 06 Jul 2014 07:27:43 GMT
|
||||
> Content-Type: image/x-png
|
||||
@@ -60,7 +60,7 @@ If you changed an image recently and it's showing up in your browser but not {%
|
||||
2. Request the image headers using `curl`.
|
||||
```shell
|
||||
$ curl -I https://www.my-server.com/images/some-image.png
|
||||
> HTTP/1.1 200 OK
|
||||
> HTTP/2 200
|
||||
> Expires: Fri, 01 Jan 1984 00:00:00 GMT
|
||||
> Content-Type: image/png
|
||||
> Content-Length: 2339
|
||||
|
||||
Reference in New Issue
Block a user