You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2004/09/15 00:01:32 UTC
DO NOT REPLY [Bug 31228] New: -
New 226 HTTP Response Code [PATCH]
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31228>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=31228
New 226 HTTP Response Code [PATCH]
Summary: New 226 HTTP Response Code [PATCH]
Product: Apache httpd-2.0
Version: 2.0-HEAD
Platform: All
OS/Version: All
Status: NEW
Severity: Enhancement
Priority: Other
Component: Core
AssignedTo: bugs@httpd.apache.org
ReportedBy: james@robinsonhouse.com
RFC3229 outlines Delta Encoding for HTTP/1.1
The following patch will allow applications implementing RFC3229 to send the
appropriate HTTP response header ("226 IM Used").
------8<--------8<----------
diff -ur httpd-2.0.50/include/httpd.h httpd-2.0.50-jer/include/httpd.h
--- httpd-2.0.50/include/httpd.h Mon Feb 9 15:54:34 2004
+++ httpd-2.0.50-jer/include/httpd.h Tue Sep 14 17:50:55 2004
@@ -425,6 +425,7 @@
#define HTTP_RESET_CONTENT 205
#define HTTP_PARTIAL_CONTENT 206
#define HTTP_MULTI_STATUS 207
+#define HTTP_IM_USED 226
#define HTTP_MULTIPLE_CHOICES 300
#define HTTP_MOVED_PERMANENTLY 301
#define HTTP_MOVED_TEMPORARILY 302
diff -ur httpd-2.0.50/modules/http/http_protocol.c
httpd-2.0.50-jer/modules/http/http_protocol.c
--- httpd-2.0.50/modules/http/http_protocol.c Mon Feb 9 15:53:18 2004
+++ httpd-2.0.50-jer/modules/http/http_protocol.c Tue Sep 14 17:54:59
2004@@ -85,6 +85,7 @@
"205 Reset Content",
"206 Partial Content",
"207 Multi-Status",
+ "226 IM Used",
#define LEVEL_300 11
"300 Multiple Choices",
"301 Moved Permanently",
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org