WebKit2.URIResponse.prototype.get_suggested_filename

function get_suggested_filename(): String {
    // Gjs wrapper for webkit_uri_response_get_suggested_filename()
}
  

Get the suggested filename for response, as specified by the 'Content-Disposition' HTTP header, or null if it's not present.

Returns

the suggested filename or null if the 'Content-Disposition' HTTP header is not present.