HeaderList.prepend

void prepend(string name, string value, string charset = null)

Prepends a header. If value is null, a space will be set aside for it (useful for setting the order of headers before values can be obtained for them) otherwise the header will be unset.

Parameters

nameheader name
valueheader value
charseta charset