Skip to content

Commit b101a4a

Browse files
committed
Add instructions for delayed responses
Issue #24
1 parent 82bb56c commit b101a4a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

+9
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,15 @@ Will cause the reponse status code to be:
130130
HTTP/1.1 401 Unauthorized
131131
```
132132

133+
## Add a delay before response
134+
135+
Use `x-set-response-delay-ms` to set a custom delay in milliseconds. This will allow you to simulate slow responses.
136+
137+
```bash
138+
curl -v -H "x-set-response-delay-ms: 6000" http://localhost:8080/
139+
```
140+
141+
133142
## Output
134143

135144
#### Curl output

0 commit comments

Comments
 (0)