headerGStringAppendParamQuoted

fnvoid headerGStringAppendParamQuoted(glib.string_.String string_, string name, string value)

Appends something like name="value" to string, taking care to escape any quotes or backslashes in value.

If value is (non-ASCII) UTF-8, this will instead use RFC 5987 encoding, just like funcheader_g_string_append_param.

Parameters

string_a #GString being used to construct an HTTP header value
namea parameter name
valuea parameter value