View definition

(*Request).MayContinue

Defined in github.com/valyala/fasthttp/http.go

Description

MayContinue returns true if the request contains 'Expect: 100-continue' header.

The caller must do one of the following actions if MayContinue returns true:

- Either send StatusExpectationFailed response if request headers don't
  satisfy the caller.
- Or send StatusContinue response before reading request body
  with ContinueReadBody.
- Or close the connection.

MayContinue is referenced in 1 repository

github.com/valyala/fasthttp