]> Cypherpunks repositories - gostls13.git/commit
http: flesh out server Expect handling + tests
authorBrad Fitzpatrick <bradfitz@golang.org>
Wed, 13 Apr 2011 21:09:04 +0000 (14:09 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Wed, 13 Apr 2011 21:09:04 +0000 (14:09 -0700)
commitc7d16cc4118bf0db3e4268a7ab657577911999f4
tree150c0a76f2478ab2edabf4dce06192ada8296a41
parent99f069a97f66aa42c88838f1e01059e42a5864dd
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
https://golang.org/cl/4399044
src/pkg/http/serve_test.go
src/pkg/http/server.go