Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for CreateFormField (0.21 sec)

  1. cmd/post-policy_test.go

    	}
    	// Set the File formData but don't if we want send an incomplete multipart request
    	if !corruptedMultipart {
    		var writer io.Writer
    		var err error
    		if noFilename {
    			writer, err = w.CreateFormField("file")
    		} else {
    			writer, err = w.CreateFormFile("file", "upload.txt")
    		}
    		if err != nil {
    			// return nil, err
    			return nil, err
    		}
    		writer.Write(objData)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  2. api/go1.txt

    pkg mime/multipart, method (*Reader) ReadForm(int64) (*Form, error)
    pkg mime/multipart, method (*Writer) Boundary() string
    pkg mime/multipart, method (*Writer) Close() error
    pkg mime/multipart, method (*Writer) CreateFormField(string) (io.Writer, error)
    pkg mime/multipart, method (*Writer) CreateFormFile(string, string) (io.Writer, error)
    pkg mime/multipart, method (*Writer) CreatePart(textproto.MIMEHeader) (io.Writer, error)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top