Add the new status code

This commit is contained in:
Michael Lazar 2020-06-07 23:08:16 -04:00
parent a871b6017d
commit 218fc2af53
2 changed files with 2 additions and 0 deletions

View File

@ -8,6 +8,7 @@
This setting will define a language parameter that will be attached to the This setting will define a language parameter that will be attached to the
meta for all text/gemini responses. For example, ``--default-lang=en`` will meta for all text/gemini responses. For example, ``--default-lang=en`` will
set the response meta to ``"text/gemini; lang=en"``. set the response meta to ``"text/gemini; lang=en"``.
- Added definition for the "11 SENSITIVE INPUT" status code.
### v0.3.2 ### v0.3.2

View File

@ -15,6 +15,7 @@ class Status:
""" """
INPUT = 10 INPUT = 10
SENSITIVE_INPUT = 11
SUCCESS = 20 SUCCESS = 20
SUCCESS_END_OF_SESSION = 21 SUCCESS_END_OF_SESSION = 21