MessageHeaders.replace
void replace(string name, string value)Replaces the value of the header name in hdrs with value.
See also [soup.message_headers.MessageHeaders.append].
The caller is expected to make sure that name and value are syntactically correct.
Parameters
name | the header name to replace |
value | the new value of name |