[Bug 641496] New plugin: CurlSink

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sun Feb 27 23:24:56 PST 2011


https://bugzilla.gnome.org/show_bug.cgi?id=641496
  GStreamer | gst-plugins-bad | unspecified

--- Comment #7 from Patricia Muscalu <patricia at axis.com> 2011-02-28 07:24:53 UTC ---
When doing POST requests, libcurl sets by defualt the "Expect: 100-Continue"
HTTP header. This means that it will not post any data before an "OK" message
is received. 

Example: Upload a JPEG file to an HTTP server:

gst-launch-0.10 filesrc blocksize=16384 location=image.jpg ! curlsink
file-name=image.jpg location=http://192.168.0.1:8080/cgi-bin/patupload.cgi/
user=test passwd=test content-type=image/jpeg use-content-length=false
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Got EOS from element "pipeline0".
Execution ended after 433697294 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list