Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for escapeQuotes (0.26 sec)

  1. src/mime/multipart/writer.go

    	h := make(textproto.MIMEHeader)
    	h.Set("Content-Disposition",
    		fmt.Sprintf(`form-data; name="%s"; filename="%s"`,
    			escapeQuotes(fieldname), escapeQuotes(filename)))
    	h.Set("Content-Type", "application/octet-stream")
    	return w.CreatePart(h)
    }
    
    // CreateFormField calls [Writer.CreatePart] with a header using the
    // given field name.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top