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

Issue 4399044: code review 4399044: http: flesh out server Expect handling + tests (Closed)

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

Description

http: flesh out server Expect handling + tests This mostly adds Expect 100-continue tests (from the perspective of server correctness) that were missing before. It also fixes a few missing cases that will probably never come up in practice, but it's nice to have handled correctly. Proper 100-continue client support remains a TODO.

Patch Set 1 #

Patch Set 2 : diff -r 65b2233724dd https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r 65b2233724dd https://go.googlecode.com/hg/ #

Total comments: 3

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+114 lines, -6 lines) Patch
M src/pkg/http/serve_test.go View 1 2 3 1 chunk +82 lines, -0 lines 0 comments Download
M src/pkg/http/server.go View 1 2 chunks +32 lines, -6 lines 0 comments Download

Messages

Total messages: 5
bradfitz
Hello rsc (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
14 years, 6 months ago (2011-04-13 20:32:05 UTC) #1
rsc
LGTM after fixes http://codereview.appspot.com/4399044/diff/5001/src/pkg/http/serve_test.go File src/pkg/http/serve_test.go (right): http://codereview.appspot.com/4399044/diff/5001/src/pkg/http/serve_test.go#newcode594 src/pkg/http/serve_test.go:594: tests := []serverExpectTest{ typically these are ...
14 years, 6 months ago (2011-04-13 20:38:51 UTC) #2
bradfitzgoog
http://codereview.appspot.com/4399044/diff/5001/src/pkg/http/serve_test.go File src/pkg/http/serve_test.go (right): http://codereview.appspot.com/4399044/diff/5001/src/pkg/http/serve_test.go#newcode616 src/pkg/http/serve_test.go:616: runTest(test) On 2011/04/13 20:38:51, rsc wrote: > ... and ...
14 years, 6 months ago (2011-04-13 20:45:19 UTC) #3
rsc
> But I want to use defer. :) Ha. I looked and missed it. Probably ...
14 years, 6 months ago (2011-04-13 20:52:47 UTC) #4
bradfitz
14 years, 6 months ago (2011-04-13 21:09:06 UTC) #5
*** Submitted as http://code.google.com/p/go/source/detail?r=5460672121a9 ***

http: flesh out server Expect handling + tests

This mostly adds Expect 100-continue tests (from
the perspective of server correctness) that were
missing before.

It also fixes a few missing cases that will
probably never come up in practice, but it's nice
to have handled correctly.

Proper 100-continue client support remains a TODO.

R=rsc, bradfitzwork
CC=golang-dev
http://codereview.appspot.com/4399044
Sign in to reply to this message.

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