mirror of
https://github.com/aljazceru/python-teos.git
synced 2025-12-17 06:04:21 +01:00
Moves cryptographer to common. Also adds constants and defines the leghtn of the locator to avoid hardcoding it in almost every file
9 lines
148 B
Python
9 lines
148 B
Python
# Locator
|
|
LOCATOR_LEN_HEX = 32
|
|
LOCATOR_LEN_BYTES = LOCATOR_LEN_HEX // 2
|
|
|
|
# HTTP
|
|
HTTP_OK = 200
|
|
HTTP_BAD_REQUEST = 400
|
|
HTTP_SERVICE_UNAVAILABLE = 503
|