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

Issue 7062052: code review 7062052: net/http/cgi: make it work without REQUEST_URI environm... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 4 months ago by brainman
Modified:
11 years, 4 months ago
Reviewers:
CC:
golang-dev, bradfitz
Visibility:
Public.

Description

net/http/cgi: make it work without REQUEST_URI environment variable Fixes issue 4367.

Patch Set 1 #

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

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

Total comments: 2

Patch Set 4 : diff -r 135a1d6e0a91 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -3 lines) Patch
M src/pkg/net/http/cgi/child.go View 1 2 chunks +10 lines, -2 lines 0 comments Download
M src/pkg/net/http/cgi/child_test.go View 1 2 3 1 chunk +23 lines, -1 line 0 comments Download

Messages

Total messages: 4
brainman
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://go.googlecode.com/hg/
11 years, 4 months ago (2013-01-08 01:35:49 UTC) #1
bradfitz
LGTM On Mon, Jan 7, 2013 at 5:35 PM, <alex.brainman@gmail.com> wrote: > Reviewers: golang-dev_googlegroups.com, > ...
11 years, 4 months ago (2013-01-08 03:36:46 UTC) #2
bradfitz
LGTM https://codereview.appspot.com/7062052/diff/5001/src/pkg/net/http/cgi/child_test.go File src/pkg/net/http/cgi/child_test.go (right): https://codereview.appspot.com/7062052/diff/5001/src/pkg/net/http/cgi/child_test.go#newcode107 src/pkg/net/http/cgi/child_test.go:107: t.Errorf("expected URL %q; got %q", e, g) Go ...
11 years, 4 months ago (2013-01-08 03:37:54 UTC) #3
brainman
11 years, 4 months ago (2013-01-08 06:23:56 UTC) #4
*** Submitted as https://code.google.com/p/go/source/detail?r=08a1396e9aa7 ***

net/http/cgi: make it work without REQUEST_URI environment variable

Fixes issue 4367.

R=golang-dev, bradfitz
CC=golang-dev
https://codereview.appspot.com/7062052

https://codereview.appspot.com/7062052/diff/5001/src/pkg/net/http/cgi/child_t...
File src/pkg/net/http/cgi/child_test.go (right):

https://codereview.appspot.com/7062052/diff/5001/src/pkg/net/http/cgi/child_t...
src/pkg/net/http/cgi/child_test.go:107: t.Errorf("expected URL %q; got %q", e,
g)
On 2013/01/08 03:37:54, bradfitz wrote:
> Go style error message & order is:
> 
> Errorf("URL = %q; want %q", g, e)

Done. But I have also changed the original line in TestRequestWithoutHost now.
Sign in to reply to this message.

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