diff options
author | Hiroaki Nakamura <hnakamur@users.noreply.github.com> | 2016-05-31 01:12:58 +0900 |
---|---|---|
committer | Aliaksandr Valialkin <valyala@gmail.com> | 2016-05-30 19:12:58 +0300 |
commit | 03bef793b795628a457ad41e27f3105f224ae3b5 (patch) | |
tree | 3e4f7f7e44bbb241faeed8ed11cf9ce4a3f22aba /status.go | |
parent | Use coveralls.io badge instead of broken gocover.io (diff) | |
download | fasthttp-03bef793b795628a457ad41e27f3105f224ae3b5.tar.gz fasthttp-03bef793b795628a457ad41e27f3105f224ae3b5.tar.bz2 fasthttp-03bef793b795628a457ad41e27f3105f224ae3b5.zip |
Add missing messages to statusMessages (#109)
Diffstat (limited to 'status.go')
-rw-r--r-- | status.go | 18 |
1 files changed, 11 insertions, 7 deletions
@@ -100,13 +100,17 @@ var ( StatusRequestedRangeNotSatisfiable: "Requested Range Not Satisfiable", StatusExpectationFailed: "Expectation Failed", StatusTeapot: "Teapot", - - StatusInternalServerError: "Internal Server Error", - StatusNotImplemented: "Not Implemented", - StatusBadGateway: "Bad Gateway", - StatusServiceUnavailable: "Service Unavailable", - StatusGatewayTimeout: "Gateway Timeout", - StatusHTTPVersionNotSupported: "HTTP Version Not Supported", + StatusPreconditionRequired: "Precondition Required", + StatusTooManyRequests: "Too Many Requests", + StatusRequestHeaderFieldsTooLarge: "Request HeaderFields Too Large", + + StatusInternalServerError: "Internal Server Error", + StatusNotImplemented: "Not Implemented", + StatusBadGateway: "Bad Gateway", + StatusServiceUnavailable: "Service Unavailable", + StatusGatewayTimeout: "Gateway Timeout", + StatusHTTPVersionNotSupported: "HTTP Version Not Supported", + StatusNetworkAuthenticationRequired: "Network Authentication Required", } ) |