headersParse

Parses the headers of an HTTP request or response in str and stores the results in dest.

Beware that dest may be modified even on failure.

This is a low-level method; normally you would use funcheaders_parse_request or funcheaders_parse_response.

bool
headersParse

Parameters

str string

the header string (including the Request-Line or Status-Line, but not the trailing blank line)

len int

length of str

dest soup.message_headers.MessageHeaders

#SoupMessageHeaders to store the header values in

Return Value

Type: bool

success or failure