URISchemeRequest
Superclasses: Object
- Constructors:
URISchemeRequest(**properties)
Methods
- class URISchemeRequest
- finish(stream: InputStream, stream_length: int, content_type: str | None = None) None
Finish a
URISchemeRequest
by setting the contents of the request and its mime type.- Parameters:
stream – a
InputStream
to read the contents of the requeststream_length – the length of the stream or -1 if not known
content_type – the content type of the stream or
None
if not known
- finish_error(error: GError) None
Finish a
URISchemeRequest
with aError
.Added in version 2.2.
- finish_with_response(response: URISchemeResponse) None
Finish a
URISchemeRequest
by returning aURISchemeResponse
Added in version 2.36.
- Parameters:
response – a
URISchemeResponse
- get_http_body() InputStream
Get the request body.
Added in version 2.40.
- get_http_headers() MessageHeaders
Get the
MessageHeaders
of the request.Added in version 2.36.