Read reads request (including body) from the given r.

RemoveMultipartFormFiles or Reset must be called after reading multipart/form-data request in order to delete temporarily uploaded files.

If MayContinue returns true, the caller must:

- 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.

io.EOF is returned if r is closed before reading the first header byte.

Read is referenced in 2 repositories