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

Issue 6099043: code review 6099043: net/http: lex cleanup (Closed)

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

Description

net/http: lex cleanup

Patch Set 1 #

Patch Set 2 : diff -r f4f63fb397c6 https://code.google.com/p/go/ #

Patch Set 3 : diff -r f4f63fb397c6 https://code.google.com/p/go/ #

Total comments: 1

Patch Set 4 : diff -r f4f63fb397c6 https://code.google.com/p/go/ #

Total comments: 2

Patch Set 5 : diff -r f4f63fb397c6 https://code.google.com/p/go/ #

Total comments: 1

Patch Set 6 : diff -r f4f63fb397c6 https://code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -184 lines) Patch
M src/pkg/net/http/cookie.go View 1 2 3 4 1 chunk +1 line, -6 lines 0 comments Download
M src/pkg/net/http/lex.go View 1 2 3 4 5 1 chunk +83 lines, -123 lines 0 comments Download
M src/pkg/net/http/lex_test.go View 1 2 3 1 chunk +16 lines, -55 lines 0 comments Download

Messages

Total messages: 15
pascal
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go/
12 years ago (2012-04-20 20:19:29 UTC) #1
rsc
http://codereview.appspot.com/6099043/diff/5001/src/pkg/net/http/lex.go File src/pkg/net/http/lex.go (right): http://codereview.appspot.com/6099043/diff/5001/src/pkg/net/http/lex.go#newcode9 src/pkg/net/http/lex.go:9: const tokenTable = " ! #$%&' *+ -. 0123456789 ...
12 years ago (2012-04-20 20:25:36 UTC) #2
bradfitz
On Fri, Apr 20, 2012 at 1:25 PM, <rsc@golang.org> wrote: > > http://codereview.appspot.com/**6099043/diff/5001/src/pkg/net/** > http/lex.go<http://codereview.appspot.com/6099043/diff/5001/src/pkg/net/http/lex.go> ...
12 years ago (2012-04-20 20:29:49 UTC) #3
rsc
On Fri, Apr 20, 2012 at 16:29, Brad Fitzpatrick <bradfitz@golang.org> wrote: > I agree this ...
12 years ago (2012-04-20 20:31:20 UTC) #4
rsc
On Fri, Apr 20, 2012 at 16:31, Russ Cox <rsc@golang.org> wrote: > I don't object ...
12 years ago (2012-04-20 20:33:59 UTC) #5
bradfitz
On Fri, Apr 20, 2012 at 1:33 PM, Russ Cox <rsc@golang.org> wrote: > On Fri, ...
12 years ago (2012-04-20 20:35:23 UTC) #6
rsc
On Fri, Apr 20, 2012 at 16:35, Brad Fitzpatrick <bradfitz@golang.org> wrote: > Yeah, that's what ...
12 years ago (2012-04-20 20:38:55 UTC) #7
pascal
Hello golang-dev@googlegroups.com, rsc@golang.org, bradfitz@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
12 years ago (2012-04-20 21:49:21 UTC) #8
rsc
http://codereview.appspot.com/6099043/diff/10001/src/pkg/net/http/cookie.go File src/pkg/net/http/cookie.go (right): http://codereview.appspot.com/6099043/diff/10001/src/pkg/net/http/cookie.go#newcode261 src/pkg/net/http/cookie.go:261: isNotToken := func(r rune) bool { return !isToken(r) } ...
12 years ago (2012-04-20 21:51:04 UTC) #9
pascal
Hello golang-dev@googlegroups.com, rsc@golang.org, bradfitz@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
12 years ago (2012-04-20 22:02:38 UTC) #10
rsc
http://codereview.appspot.com/6099043/diff/6003/src/pkg/net/http/lex.go File src/pkg/net/http/lex.go (right): http://codereview.appspot.com/6099043/diff/6003/src/pkg/net/http/lex.go#newcode96 src/pkg/net/http/lex.go:96: return i < len(isTokenTable) && !isTokenTable[i] isToken and isNotToken ...
12 years ago (2012-04-23 13:47:29 UTC) #11
pascal
Hi Russ. > That seems wrong. According to the spec it's correct but confusing none ...
12 years ago (2012-04-23 16:35:34 UTC) #12
rsc
LGTM Leaving for Brad.
12 years ago (2012-04-23 17:13:53 UTC) #13
bradfitz
LGTM On Mon, Apr 23, 2012 at 10:13 AM, <rsc@golang.org> wrote: > LGTM > > ...
12 years ago (2012-04-23 17:25:53 UTC) #14
bradfitz
12 years ago (2012-04-23 17:27:28 UTC) #15
*** Submitted as http://code.google.com/p/go/source/detail?r=b76fad0423c5 ***

net/http: lex cleanup

R=rsc, bradfitz
CC=golang-dev
http://codereview.appspot.com/6099043

Committer: Brad Fitzpatrick <bradfitz@golang.org>
Sign in to reply to this message.

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