mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
adaptivedemux2/downloadhelper: Add debug output of response headers
Dump the HTTP response headers at TRACE level Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3314>
This commit is contained in:
parent
d1ae35f08a
commit
0f8c38c190
1 changed files with 4 additions and 0 deletions
|
@ -550,6 +550,10 @@ on_request_sent (GObject * source, GAsyncResult * result, gpointer user_data)
|
|||
request->state = DOWNLOAD_REQUEST_STATE_HEADERS_RECEIVED;
|
||||
request->status_code = _soup_message_get_status (msg);
|
||||
request->headers = handle_response_headers (transfer);
|
||||
GST_TRACE ("request URI %s range %" G_GINT64_FORMAT " %"
|
||||
G_GINT64_FORMAT " headers: %" GST_PTR_FORMAT,
|
||||
request->uri, request->range_start, request->range_end,
|
||||
request->headers);
|
||||
|
||||
if (SOUP_STATUS_IS_SUCCESSFUL (request->status_code)
|
||||
|| SOUP_STATUS_IS_REDIRECTION (request->status_code)) {
|
||||
|
|
Loading…
Reference in a new issue