[Bug 763038] souphttpsrc: add http error code to element error messages

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Jul 22 11:32:38 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=763038

Sebastian Dröge (slomo) <slomo at coaxion.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #331734|none                        |reviewed
             status|                            |

--- Comment #4 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
Review of attachment 331734:
 --> (https://bugzilla.gnome.org/review?bug=763038&attachment=331734)

::: ext/soup/gstsouphttpsrc.c
@@ +1228,3 @@
         ("Server does not accept Range HTTP header, URL: %s, Redirect to: %s",
+            src->location, GST_STR_NULL (src->redirection_uri)),
+        ("http-error-code", G_TYPE_UINT, msg->status_code, NULL));

It's an HTTP status code, not error code :)

It might also be a good idea to add the message body here, it can contain
useful information.

-- 
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