Package: httpcode
Version: 0.5-3
Severity: normal
Tags: patch

Hi,
hc doesn't know about 207. See the attached patch for details.

It is very common on caldav/carddav servers so it would be great if it
would be known by hc.

Cheers,
 -- Guido
>From 7f1d3d059c64795687f8bf9e782f2c3541d845db Mon Sep 17 00:00:00 2001
Message-Id: <7f1d3d059c64795687f8bf9e782f2c3541d845db.1460233378.git....@sigxcpu.org>
From: =?UTF-8?q?Guido=20G=C3=BCnther?= <a...@sigxcpu.org>
Date: Sat, 9 Apr 2016 22:21:50 +0200
Subject: [PATCH] Add 207 Multi-Status

---
 src/httpcode/__init__.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/httpcode/__init__.py b/src/httpcode/__init__.py
index 79740b6..6ab78c6 100644
--- a/src/httpcode/__init__.py
+++ b/src/httpcode/__init__.py
@@ -49,6 +49,8 @@ STATUS_CODES = {
     204: ('No Content', 'Request fulfilled, nothing follows'),
     205: ('Reset Content', 'Clear input form for further input.'),
     206: ('Partial Content', 'Partial content follows.'),
+    207: ('Muti-Status',
+          'XML Multi Status response in message body (RFC 4918)'),
 
     300: ('Multiple Choices',
           'Object has several resources -- see URI list'),
-- 
2.8.0.rc3

Reply via email to