Open brminnick opened 6 years ago
Whitespace, " ", is not a valid boundary character.
" "
"Upload----" + DateTime.Now.ToString("u")" produces this string, which includes a space:
"Upload----" + DateTime.Now.ToString("u")"
Upload----2018-03-23 02:10:58Z
Added .Replace(" ", "") to remove any whitespace from the boundry string.
.Replace(" ", "")
https://tools.ietf.org/html/rfc2046#page-13
Whitespace,
" "
, is not a valid boundary character."Upload----" + DateTime.Now.ToString("u")"
produces this string, which includes a space:Added
.Replace(" ", "")
to remove any whitespace from the boundry string.https://tools.ietf.org/html/rfc2046#page-13