diff --git a/site/content/en/docs/tasks/traffic/direct-response.md b/site/content/en/docs/tasks/traffic/direct-response.md index 4b9aaa5551e..dfaa6755d4d 100644 --- a/site/content/en/docs/tasks/traffic/direct-response.md +++ b/site/content/en/docs/tasks/traffic/direct-response.md @@ -160,87 +160,6 @@ spec: {{% /tab %}} {{< /tabpane >}} -```shell -curl --header "Host: timeout.example.com" http://${GATEWAY_HOST}/?delay=3s -I -``` - -```console -HTTP/1.1 200 OK -content-type: application/json -x-content-type-options: nosniff -date: Mon, 04 Mar 2024 02:34:21 GMT -content-length: 480 -``` - -Then we set the request timeout to 2 seconds. In this case, Envoy Gateway will respond with a timeout. - -{{< tabpane text=true >}} -{{% tab header="Apply from stdin" %}} - -```shell -cat <}} - ```shell curl --verbose --header "Host: www.example.com" http://$GATEWAY_HOST/inline ``` diff --git a/site/content/en/latest/tasks/traffic/direct-response.md b/site/content/en/latest/tasks/traffic/direct-response.md index 4b9aaa5551e..dfaa6755d4d 100644 --- a/site/content/en/latest/tasks/traffic/direct-response.md +++ b/site/content/en/latest/tasks/traffic/direct-response.md @@ -160,87 +160,6 @@ spec: {{% /tab %}} {{< /tabpane >}} -```shell -curl --header "Host: timeout.example.com" http://${GATEWAY_HOST}/?delay=3s -I -``` - -```console -HTTP/1.1 200 OK -content-type: application/json -x-content-type-options: nosniff -date: Mon, 04 Mar 2024 02:34:21 GMT -content-length: 480 -``` - -Then we set the request timeout to 2 seconds. In this case, Envoy Gateway will respond with a timeout. - -{{< tabpane text=true >}} -{{% tab header="Apply from stdin" %}} - -```shell -cat <}} - ```shell curl --verbose --header "Host: www.example.com" http://$GATEWAY_HOST/inline ``` diff --git a/site/content/en/v1.2/tasks/traffic/direct-response.md b/site/content/en/v1.2/tasks/traffic/direct-response.md index 4b9aaa5551e..dfaa6755d4d 100644 --- a/site/content/en/v1.2/tasks/traffic/direct-response.md +++ b/site/content/en/v1.2/tasks/traffic/direct-response.md @@ -160,87 +160,6 @@ spec: {{% /tab %}} {{< /tabpane >}} -```shell -curl --header "Host: timeout.example.com" http://${GATEWAY_HOST}/?delay=3s -I -``` - -```console -HTTP/1.1 200 OK -content-type: application/json -x-content-type-options: nosniff -date: Mon, 04 Mar 2024 02:34:21 GMT -content-length: 480 -``` - -Then we set the request timeout to 2 seconds. In this case, Envoy Gateway will respond with a timeout. - -{{< tabpane text=true >}} -{{% tab header="Apply from stdin" %}} - -```shell -cat <}} - ```shell curl --verbose --header "Host: www.example.com" http://$GATEWAY_HOST/inline ```