Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ErrMissingFile (0.32 sec)

  1. src/net/http/request.go

    	"golang.org/x/net/http/httpguts"
    	"golang.org/x/net/idna"
    )
    
    const (
    	defaultMaxMemory = 32 << 20 // 32 MB
    )
    
    // ErrMissingFile is returned by FormFile when the provided file field name
    // is either not present in the request or not a file field.
    var ErrMissingFile = errors.New("http: no such file")
    
    // ProtocolError represents an HTTP protocol error.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  2. src/net/http/request_test.go

    	if f != nil {
    		t.Errorf("FormFile file = %v, want nil", f)
    	}
    	if fh != nil {
    		t.Errorf("FormFile file header = %v, want nil", fh)
    	}
    	if err != ErrMissingFile {
    		t.Errorf("FormFile err = %q, want ErrMissingFile", err)
    	}
    }
    
    func newTestMultipartRequest(t *testing.T) *Request {
    	b := strings.NewReader(strings.ReplaceAll(message, "\n", "\r\n"))
    	req, err := NewRequest("POST", "/", b)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 18:42:34 UTC 2024
    - 44K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"ErrHandlerTimeout", Var, 0},
    		{"ErrHeaderTooLong", Var, 0},
    		{"ErrHijacked", Var, 0},
    		{"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},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  4. api/go1.txt

    pkg net/http, var ErrHijacked error
    pkg net/http, var ErrLineTooLong error
    pkg net/http, var ErrMissingBoundary *ProtocolError
    pkg net/http, var ErrMissingContentLength *ProtocolError
    pkg net/http, var ErrMissingFile error
    pkg net/http, var ErrNoCookie error
    pkg net/http, var ErrNoLocation error
    pkg net/http, var ErrNotMultipart *ProtocolError
    pkg net/http, var ErrNotSupported *ProtocolError
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top