• Petar Maymounkov's avatar
    http: unified body transfer (read & write) logic in http.Request/Response. · 1480ce37
    Petar Maymounkov authored
    Compliance issue addressed here: POST requests carrying form data are required
    to use "identity" transfer encoding by common nginx and apache server configurations,
    e.g. wordpress.com (and many others). So, Request needed to be able to send
    non-chunked encodings.
    
    Thus, Request is extended to support identity and chunked encodings, like
    Response.  Since the Read() and Write() logic are shared by both (and are
    quite long), it is exported in a separate file transfer.go.
    
    R=rsc
    CC=golang-dev
    https://golang.org/cl/217048
    1480ce37
Name
Last commit
Last update
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
pkg Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...