Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
http_static: fix http(s) redirects
[vpp.git]
/
src
/
plugins
/
http
/
http.h
diff --git
a/src/plugins/http/http.h
b/src/plugins/http/http.h
index
04272ae
..
b11e0da
100644
(file)
--- a/
src/plugins/http/http.h
+++ b/
src/plugins/http/http.h
@@
-95,6
+95,7
@@
typedef enum http_content_type_
#define foreach_http_status_code \
_ (200, OK, "200 OK") \
+ _ (301, MOVED, "301 Moved Permanently") \
_ (400, BAD_REQUEST, "400 Bad Request") \
_ (404, NOT_FOUND, "404 Not Found") \
_ (405, METHOD_NOT_ALLOWED, "405 Method Not Allowed") \