warble-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From humbed...@apache.org
Subject [incubator-warble-server] 05/05: add in new custom response codes
Date Fri, 29 Jun 2018 20:44:26 GMT
This is an automated email from the ASF dual-hosted git repository.

humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-warble-server.git

commit 1298ba74276e9bf48e8a5fbd350ff4bf181c01d8
Author: Daniel Gruno <humbedooh@apache.org>
AuthorDate: Fri Jun 29 15:44:07 2018 -0500

    add in new custom response codes
---
 api/handler.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/api/handler.py b/api/handler.py
index 03b4d5c..d22165f 100644
--- a/api/handler.py
+++ b/api/handler.py
@@ -118,6 +118,8 @@ class WarbleAPIWrapper:
                 errHeaders = {
                     403: '403 Authentication failed',
                     404: '404 Resource not found',
+                    444: '444 Empty response',
+                    499: '499 Required Token Missing',
                     500: '500 Internal Server Error',
                     501: '501 Gateway error'
                 }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@warble.apache.org
For additional commands, e-mail: commits-help@warble.apache.org


Mime
View raw message