]> Cypherpunks repositories - gostls13.git/commit
net/http: add missing HTTP status codes
authorSeth Vargo <sethvargo@gmail.com>
Thu, 12 May 2016 20:26:27 +0000 (16:26 -0400)
committerAndrew Gerrand <adg@golang.org>
Wed, 25 May 2016 23:27:21 +0000 (23:27 +0000)
commitb9ec0024fbc18dd94eff7240afd82fac6b4d8fdc
tree8c5f5f7edb2dd90bb1b2522bc57681941ad9df6c
parenta5d1a72a40b59db0d2f3f5d3fbb2ed60aafb7fdf
net/http: add missing HTTP status codes

This commit adds missing status codes:

* 102 - Processing
* 207 - Multi-Status
* 208 - Already Reported
* 226 - IM Used
* 308 - Permanent Redirect
* 422 - Unprocessable Entity
* 423 - Locked
* 424 - Failed Dependency
* 426 - Upgrade Required
* 506 - Variant Also Negotiates
* 507 - Insufficient Storage
* 508 - Loop Detected
* 510 - Not Extended
* 511 - Network Authentication Required

Change-Id: Ife0e5b064f4b1e3542d2fd41abc9e7b1e410b644
Reviewed-on: https://go-review.googlesource.com/23090
Reviewed-by: Andrew Gerrand <adg@golang.org>
Run-TryBot: Andrew Gerrand <adg@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/net/http/status.go