summaryrefslogtreecommitdiff
path: root/evhttp.h
diff options
context:
space:
mode:
authorNiels Provos <provos@gmail.com>2006-12-06 04:12:11 +0000
committerNiels Provos <provos@gmail.com>2006-12-06 04:12:11 +0000
commit785923704c6d55af0fa1f06086349d1d707fea37 (patch)
tree77375fb115ad419271094a751a3180ba165344f2 /evhttp.h
parentc6e285d31a1892a6bbfdab2137d83c5041f97742 (diff)
downloadlibevent-785923704c6d55af0fa1f06086349d1d707fea37.tar.gz
fix a bug where event_set was called on a pending event;
don't read body for return codes that do not require a body; from dug song. svn:r294
Diffstat (limited to 'evhttp.h')
-rw-r--r--evhttp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/evhttp.h b/evhttp.h
index 229259d1..b1796d04 100644
--- a/evhttp.h
+++ b/evhttp.h
@@ -50,8 +50,10 @@ extern "C" {
/* Response codes */
#define HTTP_OK 200
+#define HTTP_NOCONTENT 204
#define HTTP_MOVEPERM 301
#define HTTP_MOVETEMP 302
+#define HTTP_NOTMODIFIED 304
#define HTTP_BADREQUEST 400
#define HTTP_NOTFOUND 404
#define HTTP_SERVUNAVAIL 503