use_virtual_hosting Property
Determines which style request to use.
Syntax
def get_use_virtual_hosting() -> bool: ... def set_use_virtual_hosting(value: bool) -> None: ...
use_virtual_hosting = property(get_use_virtual_hosting, set_use_virtual_hosting)
Default Value
TRUE
Remarks
If set to True (default), buckets will be referenced in the request using the hosted-style request: http://yourbucket.us-east-1.linodeobjects.com/yourobject. If False, the class will use the path-style request: http://us-east-1.linodeobjects.com/yourbucket/yourobject.
Note: When set to True, there are more limitations when choosing a bucket name due to DNS server naming restrictions.