1
0
mirror of synced 2025-12-21 10:57:10 -05:00

Updates REST API examples to HTTP/2 (#6002)

This commit is contained in:
Lucas Alves
2021-05-06 18:30:50 -03:00
committed by GitHub
parent ef77a33633
commit df1ae6420c
10 changed files with 38 additions and 38 deletions

View File

@@ -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