• Christian Himpel's avatar
    http: write cookies according to RFC 6265 · 158970ea
    Christian Himpel authored
    RFC 6265 requires that user agents MUST NOT send more than
    one Cookie header in a request.
    
    Note, this change also fixes an issue when sending requests
    with more than one cookie header line to a php script served
    by an apache web server.  Apache concatenates the cookies
    with ", ", but php tries to split them only at ";".  E.g.
    two cookies: "a=b, c=d" are seen by php as one cookie "a"
    with the value "b, c=d".
    
    Fixes #1801
    
    R=bradfitz
    CC=golang-dev
    https://golang.org/cl/4535048
    158970ea
Name
Last commit
Last update
..
cgi Loading commit data...
fcgi Loading commit data...
httptest Loading commit data...
pprof Loading commit data...
spdy Loading commit data...
testdata Loading commit data...
Makefile Loading commit data...
chunked.go Loading commit data...
client.go Loading commit data...
client_test.go Loading commit data...
cookie.go Loading commit data...
cookie_test.go Loading commit data...
dump.go Loading commit data...
export_test.go Loading commit data...
fs.go Loading commit data...
fs_test.go Loading commit data...
header.go Loading commit data...
header_test.go Loading commit data...
lex.go Loading commit data...
lex_test.go Loading commit data...
persist.go Loading commit data...
proxy_test.go Loading commit data...
range_test.go Loading commit data...
readrequest_test.go Loading commit data...
request.go Loading commit data...
request_test.go Loading commit data...
requestwrite_test.go Loading commit data...
response.go Loading commit data...
response_test.go Loading commit data...
responsewrite_test.go Loading commit data...
reverseproxy.go Loading commit data...
reverseproxy_test.go Loading commit data...
serve_test.go Loading commit data...
server.go Loading commit data...
status.go Loading commit data...
transfer.go Loading commit data...
transport.go Loading commit data...
transport_test.go Loading commit data...
triv.go Loading commit data...
url.go Loading commit data...
url_test.go Loading commit data...