16 lines
527 B
Python
16 lines
527 B
Python
|
PART_BOUNDARY = "--BOUNDARY"
|
||
|
|
||
|
CONFIG_SECTION = "CAMSTREAM"
|
||
|
CONFIG_SOURCE = "Source"
|
||
|
CONFIG_FREQUENCY = "Frequency"
|
||
|
CONFIG_FALLBACK = "Fallback"
|
||
|
CONFIG_PORT = "Port"
|
||
|
|
||
|
START_HEADERS = {
|
||
|
'Cache-Control': 'no-store, no-cache, must-revalidate, pre-check=0, post-check=0, max-age=0',
|
||
|
'Connection': 'close',
|
||
|
'Content-Type': 'multipart/x-mixed-replace;boundary=%s' % PART_BOUNDARY,
|
||
|
'Expires': 'Mon, 1 Jan 2001 00:00:00 GMT',
|
||
|
'Pragma': 'no-cache',
|
||
|
'Access-Control-Allow-Origin': '*'
|
||
|
}
|