URIResponse.getStatusCode

Get the status code of the #WebKitURIResponse.

Get the status code of the #WebKitURIResponse as returned by the server. It will normally be a #SoupKnownStatusCode, for example soup.types.Status.Ok, though the server can respond with any unsigned integer.

class URIResponse
uint
getStatusCode
()

Return Value

Type: uint

the status code of response