Keyboard Shortcuts

File
u :up to issue
m :publish + mail comments
M :edit review message
j / k :jump to file after / before current file
J / K :jump to next file with a comment after / before current file
Side-by-side diff
i :toggle intra-line diffs
e :expand all comments
c :collapse all comments
s :toggle showing all comments
n / p :next / previous diff chunk or comment
N / P :next / previous comment
<Up> / <Down> :next / previous line
<Enter> :respond to / edit current comment
d :mark current comment as done
Issue
u :up to list of issues
m :publish + mail comments
j / k :jump to patch after / before current patch
o / <Enter> :open current patch in side-by-side view
i :open current patch in unified diff view
Issue List
j / k :jump to issue after / before current issue
o / <Enter> :open current issue
# : close issue
Comment/message editing
<Ctrl> + s or <Ctrl> + Enter :save comment
<Esc> :cancel edit
Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(413)
Issues Repositories Search
Open Issues | Closed Issues | All Issues | Sign in with your Google Account to create issues and add comments

Issue 2160045: code review 2160045: http: add support for PUT and DELETE requests

Can't Edit
Can't Publish+Mail
Start Review
Created:
15 years, 4 months ago by dj2
Modified:
10 years, 7 months ago
Reviewers:
CC:
golang-dev
Visibility:
Public.
http: add support for PUT and DELETE requests

Patch Set 1 #

Patch Set 2 : code review 2160045: http: add support for PUT and DELETE requests #

Created: 15 years, 4 months ago
Download [raw] [tar.bz2]
Unified diffs Side-by-side diffs Delta from patch set Stats (+67 lines, -0 lines) Patch
M src/pkg/http/client.go View 1 1 chunk +67 lines, -0 lines 0 comments Download
Total messages: 4
|
dj2
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), I'd like you to review this change.
15 years, 4 months ago (2010年09月09日 19:57:42 UTC) #1
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com),
I'd like you to review this change.
Sign in to reply to this message.
rsc
I suppose these are okay, and it will remind us to include PUT and DELETE ...
15 years, 4 months ago (2010年09月09日 20:10:21 UTC) #2
I suppose these are okay, and it will remind us to
include PUT and DELETE when we design the next
http interface, but are they useful without being able
to include authentication information in the request?
That is, do you have an intended application for
which these work?
Russ
Sign in to reply to this message.
dj2
On 2010年09月09日 20:10:21, rsc wrote: > I suppose these are okay, and it will remind ...
15 years, 4 months ago (2010年09月10日 01:10:37 UTC) #3
On 2010年09月09日 20:10:21, rsc wrote:
> I suppose these are okay, and it will remind us to
> include PUT and DELETE when we design the next
> http interface, but are they useful without being able
> to include authentication information in the request?
> That is, do you have an intended application for
> which these work?
> 
I don't have anything I was working on. Was looking at the http docs and noticed
they're missing. Granted their utility is limited without auth, but having the
base code there and then building the auth on top makes sense, I think.
I gather there are plans to re-do the HTTP stuff. I was going to play a bit more
with that code, there is some refactoring that can be done between the methods
but I'll hold off if it's going to change anyway.
Sign in to reply to this message.
rsc1
I don't think these are right. DELETE doesn't typically return a body, and PUT doesn't ...
15 years, 4 months ago (2010年09月16日 17:58:39 UTC) #4
I don't think these are right. 
DELETE doesn't typically return a body,
and PUT doesn't typically send a form.
We'll keep these in mind for the next
round of http but especially since you're
not planning to use them for anything
right now I'd suggest leaving things as is.
Sign in to reply to this message.
|
Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b

AltStyle によって変換されたページ (->オリジナル) /