()
| 25 | } |
| 26 | |
| 27 | func (c *ContentDisposition) string() string { |
| 28 | if c == nil { |
| 29 | return "" |
| 30 | } |
| 31 | s := "" |
| 32 | for _, kv := range c.kv { |
| 33 | s += fmt.Sprintf("; %s=%q", kv.Key, kv.Value) |
| 34 | } |
| 35 | return s |
| 36 | } |
| 37 | |
| 38 | // FileUpload represents a "form-data" multipart |
| 39 | type FileUpload struct { |
no outgoing calls
no test coverage detected