mirror of
https://github.com/golang/go
synced 2024-09-30 12:18:33 -06:00
1e7e160d07
Use "%w" instead of "%v" as format verb for error value in the NextPart
method. This way it will be possible to use common go error utilities
from std library when parsing from custom io.Readers.
This issue was discovered during attempts to use
http.Request.ParseMultipartForm together with http.MaxBytesHandler.
Change-Id: Idb82510fb536b66b51ed1d943737c4828f07c2f2
GitHub-Last-Rev:
|
||
---|---|---|
.. | ||
multipart | ||
quotedprintable | ||
testdata | ||
encodedword_test.go | ||
encodedword.go | ||
example_test.go | ||
grammar.go | ||
mediatype_test.go | ||
mediatype.go | ||
type_dragonfly.go | ||
type_freebsd.go | ||
type_openbsd.go | ||
type_plan9.go | ||
type_test.go | ||
type_unix_test.go | ||
type_unix.go | ||
type_windows.go | ||
type.go |