>= 0
Handles requests to the `/delay/:n` endpoint.
Introduces a delay of n seconds before sending a response.
The delay duration n is extracted from the path.
Security
The maximum delay is capped at MAX_DELAY_SECONDS (300 seconds) to prevent
denial-of-service attacks where malicious requests could hold connections open indefinitely.
Path Parameters
Response
text/plain
Response
Responds after the specified delay
Path Parameters
Streams `numbytes` bytes of `*` over `duration` seconds.
Query Parameters
Total bytes to emit (default 10, max 10000)
>= 0
>= 0
>= 0
>= 0
Response
application/octet-stream
Response
Bytes streamed slowly
Query Parameters
Handles requests to the `/healthz` endpoint.
Returns an HTTP 200 OK status and the plain text “OK”.
Response
200 text/plain
Response
Health check successful
Returns a small sample HTML document as `text/html; charset=utf-8`.
Deliberately non-JSON — a controllable upstream for testing how a gateway
handles text/html responses.
Response
200 text/html
Response
A sample HTML document
Returns a small sample XML document as `application/xml`.
Deliberately non-JSON — a controllable upstream for testing how a gateway
handles application/xml responses (e.g. content-type-aware plugins).
Response
200 application/xml
Response
A sample XML document