I'm having a problem with update_profile_image over oAuth

I'm sending down

Content-Disposition: form-data; name=\"image\";filename=\"avatar.jpg
\"\r\nContent-Type: image/jpeg\r\n\r\n

and in the headers sending
Content-type: multipart/form-data; boundary=%@
Content-Length:length of data

I'm signing the request before I add the body data and I get the
following error back

HTTP status 200
Invalid Unicode value in one or more parameters

If I user \n instead of \r\n as a line break I get a 500 internal
server error.

Any ideas?

Reply via email to