WebKit2.URIRequest.prototype.get_http_headers

function get_http_headers(): Soup.MessageHeaders {
    // Gjs wrapper for webkit_uri_request_get_http_headers()
}
  

Get the HTTP headers of a WebKit2.URIRequest as a Soup.MessageHeaders.

Returns

a Soup.MessageHeaders with the HTTP headers of request or null if request is not an HTTP request.