base64Encode generate \n when too long,http header not allowed \n when not followed by space or \t.