pub fn payload_too_large_response(
message: &str,
request_headers: &HeaderMap,
cors_allow_credentials_origins: &[String],
) -> Result<Response<BoxBody>, Error>Expand description
error response on http PAYLOAD_TOO_LARGE (413) — RFC 068 S-02: a request body over the configured limit, refused before it is buffered.