MessageHeaders.append

Appends a new header with name @name and value @value to @hdrs. (If there is an existing header with name @name, then this creates a second one, which is only allowed for list-valued headers; see also soup_message_headers_replace().)

The caller is expected to make sure that @name and @value are syntactically correct.

class MessageHeaders
void
append
(
string name
,
string value
)

Parameters

name string

the header name to add

value string

the new value of @name

Meta