fix(API): filter null values of requrest structs

Some servers, like youtube, reject null values possibly thanks to
the reliance on parts. Now we are filtering them (in a very inefficient,
but working way), which seems to be fine with the servers.

Effectively, we seem to be able now to upload videos ... .

More testing required !
This commit is contained in:
Sebastian Thiel
2015-05-08 12:38:59 +02:00
parent 3fe2732a01
commit 3efa4f2b12
4 changed files with 14 additions and 2 deletions

View File

@@ -27,3 +27,4 @@ cargo:
- url = "*"
- serde = ">= 0.3.0"
- serde_macros = "*"
- json-tools = "*"

View File

@@ -31,4 +31,3 @@ cargo:
- serde = ">= 0.3.0"
- serde_macros = "*"
- clap = "*"
- json-tools = "*"