URISchemeResponse.setHttpHeaders

Assign the provided #SoupMessageHeaders to the response.

headers need to be of the type soup.types.MessageHeadersType.Response. Any existing headers will be overwritten.

class URISchemeResponse
void
setHttpHeaders

Parameters

headers soup.message_headers.MessageHeaders

the HTTP headers to be set