chickadee » intarweb » request-has-message-body?

request-has-message-body? #!optional predicateparameter

This parameter holds a predicate which accepts a request object and returns #t when the request will have a message body. By default in HTTP/1.1, this is the case for all requests that have a content-length or transfer-coding header.

The parameter is useful for servers to determine whether to read a request body or not.