Merge pull request #2 from biemedia/master

Send Content-Length when not sending any data.
[PSE 4825] Fix CC uploading
Change Python API constructor for consistency
Fix Python API tests
Add Ooyala high performance API to Python SDK
Replace utf8 characters with iso-8859-15 equivalents
Fix for sending empty or null hmaps in requests in OoyalaAPI.java

Within OoyalaAPI.java, the sendRequest method (line 322), the requestBody arg is first checked to be null or empty for generating the URL (along with the signature), but then is sent to getHttpMethod without this check. Hence if the HashMap is empty or null, you'll get an invalid signature error.

I'd suggest you probably wanted the following then - On line 331

HttpRequestBase method = getHttpMethod(HTTPMethod,url, new StringEntity(JSONValue.toJSONString(requestBody)));

Becomes

HttpRequestBase method = getHttpMethod(HTTPMethod,url, new StringEntity(jsonBody));
Merge pull request #5 from JasperTimm/patch-1

Fix for sending empty or null hmaps in requests in OoyalaAPI.java
Merge pull request #1 from ooyala/master

Sync Repo