
When uploading a file using the API its same is always going to be 'unknown.<extension>', which is not good looking for file urls. This patch proposes a custom header named 'X-File-Name' that allows to specify a file name using an API client. This changeset was tested with a local OAuth1 client.