URISchemeResponse.setHttpHeaders

void setHttpHeaders(soup.message_headers.MessageHeaders headers)

Assign the provided #SoupMessageHeaders to the response.

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

Parameters

headersthe HTTP headers to be set