# std.http.Server: handle expect: 100-continue requests · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/abde76a808df816ea12a8a2dbf8e6b53ff9b110f)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: abde76a808df816ea12a8a2dbf8e6b53ff9b110f

Requested commit: abde76a808df816ea12a8a2dbf8e6b53ff9b110f

Commit: abde76a808df816ea12a8a2dbf8e6b53ff9b110f

Tree: d817c13501789ae507fc29a069f344eaed28c286

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.http.Server: handle expect: 100-continue requests

The API automatically handles these requests as expected. After
receiveHead(), the server has a chance to notice the expectation and do
something about it. If it does not, then the Server implementation will
handle it by sending the continuation header when the read stream is
created.

Both respond() and respondStreaming() send the continuation header as
part of discarding the request body, only if the read stream has not
already been created.

```

## Parents

- [380916c0f8883746e4d84d5334f68d0569d76f38](https://git.cafe/gitcafe/zig/commit/380916c0f8883746e4d84d5334f68d0569d76f38?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/abde76a808df816ea12a8a2dbf8e6b53ff9b110f?format=markdown)
