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

Issue 206050: code review 206050: Added routines that dump the wire representation of htt... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
16 years, 4 months ago by petar-m
Modified:
16 years, 3 months ago
Reviewers:
CC:
rsc, golang-dev
Visibility:
Public.

Description

Added routines that dump the wire representation of http.Request/Response without affecting the underlying objects. I find myself using these routines constantly while debugging.

Patch Set 1 #

Patch Set 2 : code review 206050: Added routines that dump the wire representation of htt... #

Total comments: 12

Patch Set 3 : code review 206050: Added routines that dump the wire representation of htt... #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -0 lines) Patch
A src/pkg/http/dump.go View 1 2 1 chunk +76 lines, -0 lines 0 comments Download

Messages

Total messages: 9
petar-m
Hello rsc (cc: golang-dev@googlegroups.com), I'd like you to review this change.
16 years, 4 months ago (2010-02-09 20:56:31 UTC) #1
rsc
Would it work just as well to use testing/iotest's NewReadLogger and NewWriteLogger instead? Maybe with ...
16 years, 4 months ago (2010-02-09 21:06:00 UTC) #2
petar_csail.mit.edu
On Tue, Feb 9, 2010 at 4:05 PM, Russ Cox <rsc@golang.org> wrote: > Would it ...
16 years, 4 months ago (2010-02-10 19:33:58 UTC) #3
rsc
What's a typical use case? Is this for debugging http itself or debugging some code ...
16 years, 4 months ago (2010-02-10 19:37:09 UTC) #4
petar_csail.mit.edu
Right now, my end-test for all HTTP-stuff is an evolving asychronous transparent proxy. (It is ...
16 years, 4 months ago (2010-02-10 19:42:15 UTC) #5
rsc
looks pretty good. a few small things. http://codereview.appspot.com/206050/diff/1002/3 File src/pkg/http/dump.go (right): http://codereview.appspot.com/206050/diff/1002/3#newcode19 src/pkg/http/dump.go:19: b1 := ...
16 years, 3 months ago (2010-02-19 07:49:53 UTC) #6
petar-m
Done. I forgot to add dump.go to the makefile, but I am going to wrap ...
16 years, 3 months ago (2010-02-19 14:15:53 UTC) #7
rsc
*** Submitted as http://code.google.com/p/go/source/detail?r=93597b2efefd *** http: add DumpRequest, DumpResponse, for debugging R=rsc CC=golang-dev http://codereview.appspot.com/206050 Committer: ...
16 years, 3 months ago (2010-02-19 15:51:54 UTC) #8
rsc
16 years, 3 months ago (2010-02-19 15:51:56 UTC) #9
LGTM

I'll throw the makefile line in before submitting,
just to keep everything building.
Sign in to reply to this message.

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