[gstreamer-bugs] [Bug 522884] New: gstneonhttpsrc does not handle the HTTP status 303 correctly.

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Sun Mar 16 22:40:20 PDT 2008


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=522884

  GStreamer | gst-plugins-bad | Ver: HEAD CVS
           Summary: gstneonhttpsrc does not handle the HTTP status 303
                    correctly.
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: major
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: kwangyul.seo at gmail.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


gstneonhttpsrc handles the HTTP status 302, but it ignore the HTTP status 303
"See Other". Refer to the http 1.1 specification for status code.

http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html

Note: Many pre-HTTP/1.1 user agents do not understand the 303
status. When interoperability with such clients is a concern, the
302 status code may be used instead, since most user agents react
to a 302 response as described here for 303.


Replacing 303 with 302 works fine, but I am not sure if this is okay because
there is a subtle difference between 302 and 303. In case of 303, the URI
should be retrieved using a GET method on that resource.


The following is a URL which returns 303 code.

http://www.youtube.com/get_video?hl=en&video_id=6uLUVI3Y0q0&l=60&t=OEgsToPDskIC--0tx6Q-yCsbEcUhrBqk&sk=5_RpHeJouXemWTcCtl2xLAC


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=522884.




More information about the Gstreamer-bugs mailing list