Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(384)

Issue 4930047: code review 4930047: http: delete error kludge (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 7 months ago by rsc
Modified:
13 years, 7 months ago
Reviewers:
CC:
bradfitz, dsymonds, golang-dev
Visibility:
Public.

Description

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 issue 2169.

Patch Set 1 #

Patch Set 2 : diff -r a7c390d2352d https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r a7c390d2352d https://go.googlecode.com/hg/ #

Patch Set 4 : diff -r 9440ac2b7071 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -50 lines) Patch
M src/pkg/http/server.go View 1 2 chunks +0 lines, -50 lines 0 comments Download

Messages

Total messages: 4
rsc
Hello bradfitz (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 7 months ago (2011-08-23 20:55:23 UTC) #1
dsymonds
LGTM
13 years, 7 months ago (2011-08-23 21:53:28 UTC) #2
bradfitz
LGTM++ On Wed, Aug 24, 2011 at 12:55 AM, <rsc@golang.org> wrote: > Reviewers: bradfitz, > ...
13 years, 7 months ago (2011-08-24 00:51:30 UTC) #3
rsc
13 years, 7 months ago (2011-08-24 02:39:33 UTC) #4
*** Submitted as http://code.google.com/p/go/source/detail?r=0f4ae6ba2d8f ***

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 issue 2169.

R=bradfitz, dsymonds
CC=golang-dev
http://codereview.appspot.com/4930047
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b