httpbase.constants
¶
Constants¶
Constants used within the library and suitable for use in packages that build on top of it.
-
TEMPLATE_VARIABLE_PATTERN
¶ The regex pattern used to find template variables in
Route
. Value:r"{(\w+)}"
-
class
httpbase.constants.
HTTPMethods
¶ Container class for HTTP request methods.
-
class
httpbase.constants.
HTTPResponseCodes
¶ Container class for HTTP response codes.