From 218fc2af5317550698ea091014d9bbe8a8c35f2f Mon Sep 17 00:00:00 2001 From: Michael Lazar Date: Sun, 7 Jun 2020 23:08:16 -0400 Subject: [PATCH] Add the new status code --- CHANGELOG.md | 1 + jetforce/app/base.py | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 941e5de..ec6646e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ 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 set the response meta to ``"text/gemini; lang=en"``. +- Added definition for the "11 SENSITIVE INPUT" status code. ### v0.3.2 diff --git a/jetforce/app/base.py b/jetforce/app/base.py index a1bac69..1e3baf3 100644 --- a/jetforce/app/base.py +++ b/jetforce/app/base.py @@ -15,6 +15,7 @@ class Status: """ INPUT = 10 + SENSITIVE_INPUT = 11 SUCCESS = 20 SUCCESS_END_OF_SESSION = 21