You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@warble.apache.org by hu...@apache.org on 2018/06/29 20:44:26 UTC

[incubator-warble-server] 05/05: add in new custom response codes

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 <hu...@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