I have been having trouble getting a file to upload through http-post from my lisp application and I have noticed in all of the curl php examples I have found they have a like this:
$file = array(
'filesize' => filesize($filename),
'filename' => basename($filename),
'file' => base64_encode(file_get_contents($filename)),
'uid' => $logged_user->user->uid,
);
which includes the call to base64_encode, I am not doing this from my lisp application and I always get a response of 200 but the file is not uploaded. I am using Services 3.x and a RESt server.
Does Services require that file uploads are base64 encoded?