Skip to content

Commit

Permalink
doc: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ncarlier committed Sep 21, 2024
1 parent 8f8e69f commit 0df2a52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ You can change the default mode using the `WHD_HOOK_DEFAULT_MODE` environment va
[sse]: https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events
[chunked]: https://datatracker.ietf.org/doc/html/rfc2616#section-3.6.1

If no streaming protocol is needed, yous must set `X-Hook-Mode` HTTP header to `buffered`.
If no streaming protocol is needed, you must set `X-Hook-Mode` HTTP header to `buffered`.
The HTTP reponse will block until the script is over:

- Sends script output limited to the last 100 lines. You can modify this limit via the HTTP header `X-Hook-MaxBufferedLines`.
Expand Down Expand Up @@ -171,7 +171,7 @@ bar bar bar
error: exit status 118
```

> Note that in this last example the HTTP response is equal to `exit code + 300` : `318 I'm a teapot`.
> Note that in this last example the HTTP response is equal to `exit code + 300` : `418 I'm a teapot`.
### Webhook parameters

Expand Down

0 comments on commit 0df2a52

Please sign in to comment.