From c477049a0bbdbc4c511f45733e6e7df9ccfea905 Mon Sep 17 00:00:00 2001 From: Michael Lazar Date: Thu, 8 Aug 2019 21:34:06 -0400 Subject: [PATCH] Switch status codes to two digits for new spec --- jetforce.py | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/jetforce.py b/jetforce.py index b65b0eb..152ec21 100644 --- a/jetforce.py +++ b/jetforce.py @@ -39,13 +39,12 @@ automatically be generated and saved to your temporary file directory. """ # Gemini response status codes -STATUS_SUCCESS = 2 -STATUS_NOT_FOUND = 4 -STATUS_SERVER_ERROR = 5 - -# Gemini response status codes, provisional -STATUS_MOVED = 3 -STATUS_TOO_MANY_REQUESTS = 9 +STATUS_INPUT_REQUIRED = 10 +STATUS_SUCCESS = 20 +STATUS_REDIRECT = 30 +STATUS_NOT_FOUND = 40 +STATUS_SERVER_ERROR = 50 +STATUS_CERTIFICATE_ERROR = 60 class EchoApp: