]> Cypherpunks repositories - gostls13.git/commit
http: delete error kludge
authorRuss Cox <rsc@golang.org>
Wed, 24 Aug 2011 02:39:25 +0000 (22:39 -0400)
committerRuss Cox <rsc@golang.org>
Wed, 24 Aug 2011 02:39:25 +0000 (22:39 -0400)
commit03582b33086c60d09c28e20a6dcdc0dcdd9074c7
treee8533556ebd351667cb0ee351ea746743570b05f
parent5e188b40f292d5747416d6254ad6adf4b2ee011b
http: delete error kludge

The kludge is targeted at broken web browsers
like Chrome and IE, but it gets in the way of
sending 400 or 500-series error results with
formatted bodies in response to AJAX requests
made by pages executing in those browsers.

Now the AJAX cases will work and Chrome
and IE will be as broken with Go servers as
they are with all the other servers.

Fixes #2169.

R=bradfitz, dsymonds
CC=golang-dev
https://golang.org/cl/4930047
src/pkg/http/server.go