Skip to content

Commit

Permalink
fix misspelling
Browse files Browse the repository at this point in the history
  • Loading branch information
grokify committed Dec 10, 2018
1 parent d53a092 commit 9a01384
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mime/multipartutil/multipartutil.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ func (builder *MultipartBuilder) WriteFieldAsJSON(partName string, data interfac
// WriteFilepathPlus adds a file part given a filename with the Content Type and
// other associated headers as needed. After builder.Close() has been called,
// use like `req, err := http.NewRequest("POST", url, builder.Buffer)`.
// Content-Dispostion uses optional attribute as defined here:
// Content-Disposition uses optional attribute as defined here:
// https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Disposition
func (builder *MultipartBuilder) WriteFilePathPlus(partName, srcFilepath string, base64Encode bool) error {
partName = strings.TrimSpace(partName)
Expand Down

0 comments on commit 9a01384

Please sign in to comment.