Update http 1.1 to http 2 (#7301)

This commit is contained in:
Shamsher Ansari 2020-05-13 19:39:42 +05:30 committed by GitHub
parent 50793ab875
commit 183efe691c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -101,7 +101,7 @@ First create a `ServiceEntry` to allow direct traffic to an external service.
location: https://edition.cnn.com/politics
...
HTTP/1.1 200 OK
HTTP/2 200
Content-Type: text/html; charset=utf-8
...
Content-Length: 151654
@ -192,7 +192,7 @@ First create a `ServiceEntry` to allow direct traffic to an external service.
location: https://edition.cnn.com/politics
...
HTTP/1.1 200 OK
HTTP/2 200
Content-Type: text/html; charset=utf-8
...
Content-Length: 151654
@ -256,7 +256,7 @@ You need to specify port 443 with protocol `TLS` in a corresponding `ServiceEntr
{{< text bash >}}
$ kubectl exec -it $SOURCE_POD -c sleep -- curl -sL -o /dev/null -D - https://edition.cnn.com/politics
HTTP/1.1 200 OK
HTTP/2 200
Content-Type: text/html; charset=utf-8
...
Content-Length: 151654
@ -337,7 +337,7 @@ You need to specify port 443 with protocol `TLS` in a corresponding `ServiceEntr
{{< text bash >}}
$ kubectl exec -it $SOURCE_POD -c sleep -- curl -sL -o /dev/null -D - https://edition.cnn.com/politics
HTTP/1.1 200 OK
HTTP/2 200
Content-Type: text/html; charset=utf-8
...
Content-Length: 151654