• Brad Fitzpatrick's avatar
    http: flesh out server Expect handling + tests · c7d16cc4
    Brad Fitzpatrick authored
    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
    c7d16cc4
server.go 25.2 KB