nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge: Added contributing guidelines and link from readme
[nit.git]
/
lib
/
nitcorn
/
http_response.nit
diff --git
a/lib/nitcorn/http_response.nit
b/lib/nitcorn/http_response.nit
index
ee09012
..
08d2968
100644
(file)
--- a/
lib/nitcorn/http_response.nit
+++ b/
lib/nitcorn/http_response.nit
@@
-97,6
+97,7
@@
class HttpStatusCodes
# All know code and their message
var codes = new HashMap[Int, String]
+ # Init the status `codes` list.
protected init is old_style_init do insert_status_codes
# Get the message associated to the status `code`, return `null` in unknown