Gsf.InputHTTP¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/co |
Content-Type in HTTP header |
||
r/w/co |
HTTP URL accessed by this stream |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Gsf.InputHTTP(**kwargs)¶
- Bases:
- Abstract:
No
- classmethod new(url)¶
- Parameters:
url (
str
) – A string containing the URL to retrieve- Raises:
- Returns:
an open HTTP connection, ready for reading.
- Return type:
- get_content_type()¶
- Returns:
an allocated string containing the Content-Type field of the HTTP response.
- Return type:
Property Details¶
- Gsf.InputHTTP.props.content_type¶
- Name:
content-type
- Type:
- Default Value:
- Flags:
Content-Type in HTTP header