- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for ErrNotMultipart (0.13 sec)
-
src/net/http/request.go
// request's Content-Type does not include a "boundary" parameter. ErrMissingBoundary = &ProtocolError{"no multipart boundary param in Content-Type"} // ErrNotMultipart is returned by Request.MultipartReader when the // request's Content-Type is not multipart/form-data. ErrNotMultipart = &ProtocolError{"request Content-Type isn't multipart/form-data"} // Deprecated: ErrHeaderTooLong is no longer returned by
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 49.4K bytes - Viewed (0) -
src/net/http/request_test.go
if err == nil { t.Error("expected multipart EOF, got nil") } req.Header = Header{"Content-Type": {"text/plain"}} err = req.ParseMultipartForm(25) if err != ErrNotMultipart { t.Error("expected ErrNotMultipart for text/plain") } } // Issue 45789: multipart form should not include directory path in filename func TestParseMultipartFormFilename(t *testing.T) { postData := `--xxx
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 18:42:34 UTC 2024 - 44K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"ErrLineTooLong", Var, 0}, {"ErrMissingBoundary", Var, 0}, {"ErrMissingContentLength", Var, 0}, {"ErrMissingFile", Var, 0}, {"ErrNoCookie", Var, 0}, {"ErrNoLocation", Var, 0}, {"ErrNotMultipart", Var, 0}, {"ErrNotSupported", Var, 0}, {"ErrSchemeMismatch", Var, 21}, {"ErrServerClosed", Var, 8}, {"ErrShortBody", Var, 0}, {"ErrSkipAltProtocol", Var, 6}, {"ErrUnexpectedTrailer", Var, 0},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0)