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

Issue 186160: code review 186160: mime: new package, use in http (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
15 years, 3 months ago by hoisie
Modified:
15 years, 2 months ago
Reviewers:
CC:
rsc, golang-dev
Visibility:
Public.

Description

mime: new package, use in http

Patch Set 1 #

Patch Set 2 : code review 186160: Load mime types from system files #

Patch Set 3 : code review 186160: Load mime types from system files #

Patch Set 4 : code review 186160: Load mime types from system files #

Patch Set 5 : code review 186160: Load mime types from system files #

Patch Set 6 : code review 186160: Load mime types from system files #

Patch Set 7 : code review 186160: Load mime types from system files #

Total comments: 11

Patch Set 8 : code review 186160: Load mime types from system files #

Patch Set 9 : code review 186160: Load mime types from system files #

Total comments: 6

Patch Set 10 : code review 186160: Load mime types from system files #

Patch Set 11 : code review 186160: Load mime types from system files #

Patch Set 12 : code review 186160: Load mime types from system files #

Total comments: 11

Patch Set 13 : code review 186160: Load mime types from system files #

Patch Set 14 : code review 186160: mime: new package, use in http #

Total comments: 3

Patch Set 15 : code review 186160: mime: new package, use in http #

Patch Set 16 : code review 186160: mime: new package, use in http #

Patch Set 17 : code review 186160: mime: new package, use in http #

Unified diffs Side-by-side diffs Delta from patch set Stats (+132 lines, -12 lines) Patch
M src/pkg/Makefile View 12 13 14 1 chunk +1 line, -0 lines 0 comments Download
M src/pkg/http/fs.go View 3 4 5 6 7 8 9 10 11 2 chunks +2 lines, -12 lines 0 comments Download
A src/pkg/mime/Makefile View 1 chunk +11 lines, -0 lines 0 comments Download
A src/pkg/mime/mime_test.go View 12 13 14 15 1 chunk +27 lines, -0 lines 0 comments Download
A src/pkg/mime/test.types View 12 13 14 1 chunk +8 lines, -0 lines 0 comments Download
A src/pkg/mime/type.go View 12 13 14 15 16 1 chunk +83 lines, -0 lines 0 comments Download

Messages

Total messages: 16
hoisie
Hello rsc (cc: golang-dev@googlegroups.com), I'd like you to review this change.
15 years, 3 months ago (2010-01-15 00:21:52 UTC) #1
rsc
http://codereview.appspot.com/186160/diff/23/25 File src/pkg/http/mimetype.go (right): http://codereview.appspot.com/186160/diff/23/25#newcode5 src/pkg/http/mimetype.go:5: // mime type association blank line after this comment. ...
15 years, 3 months ago (2010-01-15 22:20:56 UTC) #2
hoisie
Done On 2010/01/15 22:20:56, rsc wrote: > http://codereview.appspot.com/186160/diff/23/25 > File src/pkg/http/mimetype.go (right): > > http://codereview.appspot.com/186160/diff/23/25#newcode5 ...
15 years, 3 months ago (2010-01-21 01:27:46 UTC) #3
rsc
LGTM but please make the few small changes below. http://codereview.appspot.com/186160/diff/2002/31 File src/pkg/http/mimetype.go (right): http://codereview.appspot.com/186160/diff/2002/31#newcode34 src/pkg/http/mimetype.go:34: ...
15 years, 3 months ago (2010-01-26 20:46:21 UTC) #4
hoisie
ok done On 2010/01/26 20:46:21, rsc wrote: > LGTM > > but please make the ...
15 years, 3 months ago (2010-01-26 22:51:43 UTC) #5
hoisie
Would you like to just put this into a separate package? One of my projects ...
15 years, 3 months ago (2010-01-27 06:23:06 UTC) #6
rsc1
sure. the mimetype.go file looks good. how about moving it to mime/type.go and then make ...
15 years, 3 months ago (2010-01-28 23:56:22 UTC) #7
hoisie
Ok done On 2010/01/28 23:56:22, rsc1 wrote: > sure. the mimetype.go file looks good. > ...
15 years, 3 months ago (2010-02-01 22:39:02 UTC) #8
rsc
please make the CL description something like mime: new package, use in http http://codereview.appspot.com/186160/diff/6001/6005 File ...
15 years, 3 months ago (2010-02-04 07:07:37 UTC) #9
rsc
15 years, 3 months ago (2010-02-04 07:07:56 UTC) #10
hoisie
done
15 years, 3 months ago (2010-02-04 17:24:00 UTC) #11
hoisie
any update on this?
15 years, 2 months ago (2010-02-09 01:51:15 UTC) #12
rsc
looks good; one small bug http://codereview.appspot.com/186160/diff/9008/8015 File src/pkg/mime/mime_test.go (right): http://codereview.appspot.com/186160/diff/9008/8015#newcode13 src/pkg/mime/mime_test.go:13: ".t2": "text/test; charset=utf-8", add ...
15 years, 2 months ago (2010-02-09 21:25:43 UTC) #13
hoisie
Done. Nice catch, btw On 2010/02/09 21:25:43, rsc wrote: > looks good; one small bug ...
15 years, 2 months ago (2010-02-09 22:16:59 UTC) #14
rsc
LGTM thanks
15 years, 2 months ago (2010-02-10 04:40:21 UTC) #15
rsc
15 years, 2 months ago (2010-02-10 04:47:50 UTC) #16
*** Submitted as http://code.google.com/p/go/source/detail?r=f1f1151848c3 ***

mime: new package, use in http

R=rsc
CC=golang-dev
http://codereview.appspot.com/186160

Committer: Russ Cox <rsc@golang.org>
Sign in to reply to this message.

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