diff options
| author | Brad Fitzpatrick <bradfitz@golang.org> | 2015-04-21 13:36:44 -0700 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2015-04-22 10:35:44 +0000 |
| commit | 5fa2d9915f8311d7996e93a3a42cf438278e3886 (patch) | |
| tree | f9bf2e940b748b1cef799511b0dcdea3ed00ccbb /src/net/http/export_test.go | |
| parent | 58c1c011a694cc9a813b34c83eebab223edae1fd (diff) | |
| download | go-5fa2d9915f8311d7996e93a3a42cf438278e3886.tar.xz | |
net/http: make ServeContent errors return more specific HTTP status codes
Previously all errors were 404 errors, even if the real error had
nothing to do with a file being non-existent.
Fixes #10283
Change-Id: I5b08b471a9064c347510cfcf8557373704eef7c0
Reviewed-on: https://go-review.googlesource.com/9200
Reviewed-by: Daniel Morsing <daniel.morsing@gmail.com>
Diffstat (limited to 'src/net/http/export_test.go')
0 files changed, 0 insertions, 0 deletions
