Add the new status code
This commit is contained in:
parent
a871b6017d
commit
218fc2af53
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue