mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-15 04:24:18 +00:00
soup: don't use deprecated soup_message_headers_get() API
This commit is contained in:
parent
f996daf622
commit
604bfa586e
1 changed files with 1 additions and 1 deletions
|
@ -748,7 +748,7 @@ gst_soup_http_src_got_headers_cb (SoupMessage * msg, GstSoupHTTPSrc * src)
|
|||
return;
|
||||
|
||||
if (src->automatic_redirect && SOUP_STATUS_IS_REDIRECTION (msg->status_code)) {
|
||||
src->redirection_uri = g_strdup (soup_message_headers_get
|
||||
src->redirection_uri = g_strdup (soup_message_headers_get_one
|
||||
(msg->response_headers, "Location"));
|
||||
GST_DEBUG_OBJECT (src, "%u redirect to \"%s\"", msg->status_code,
|
||||
src->redirection_uri);
|
||||
|
|
Loading…
Reference in a new issue