curlhttpsink: only add content-disposition header if a filename is set
authorStefan Sauer <ensonic@users.sf.net>
Wed, 24 Sep 2014 20:24:49 +0000 (22:24 +0200)
committerStefan Sauer <ensonic@users.sf.net>
Wed, 24 Sep 2014 20:25:55 +0000 (22:25 +0200)
commit8a8d3ac3517d56d3aa9b6da66ff55f5aa5f88ee8
treecb812a6c6cc90d10b26721c07b35a27a521d105c
parenta80cde8cb6b393ee94d40d24966790bc0f7ef3b6
curlhttpsink: only add content-disposition header if a filename is set

The header is optional and therefore we better omit it if we don't have a filename.
ext/curl/gstcurlhttpsink.c