if there is a space between semi-colons in the response header around the 'boundary' subheader, then multipart content will not work. fix is to trim the header name used for comparison.