• Brad Fitzpatrick's avatar
    mime/multipart and HTTP multipart/form-data support · 9b64fef7
    Brad Fitzpatrick authored
    Somewhat of a work-in-progress (in that MIME is a large spec), but this is
    functional and enough for discussion and/or code review.
    
    In addition to the unit tests, I've tested with curl and Chrome with
    a variety of test files, making sure the digests of files are unaltered
    when read via a multipart Part.
    
    R=rsc, adg, dsymonds1, agl1
    CC=golang-dev
    https://golang.org/cl/1681049
    9b64fef7
multipart_test.go 4.63 KB