geni.minigcf.config

class HTTP[source]

Global configuration options for MiniGCF HTTP(S) calls.

ALLOW_REDIRECTS = False

Allow MiniGCF to follow HTTP redirects (301).

LOG_RAW_REQUESTS = False

If set to a valid (log_handle, log_level) tuple, will write all raw requests (before any parsing) to AM API and CH API calls to that log at the given level.

LOG_RAW_RESPONSES = False

If set to a valid (log_handle, log_level) tuple, will write all raw responses (before any parsing) from AM API and CH API calls to that log at the given level.

LOG_URLS = False

If set to a valid (log_handle, log_level) tuple, will log all URLs as they are used.

TIMEOUT = 60

Initial response timeout. Note that this is not the time limit on the entire download, just the initial server response.