Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
GNOME
libdmapsharing
Commits
93b8fccf
Commit
93b8fccf
authored
Mar 11, 2010
by
W. Michael Petullo
Browse files
Add user agent header to requests (Rhythmbox bug #610440).
Signed-off-by:
W. Michael Petullo
<
mike@flyn.org
>
parent
a3180180
Changes
1
Hide whitespace changes
Inline
Side-by-side
libdmapsharing/dmap-connection.c
View file @
93b8fccf
...
...
@@ -375,6 +375,7 @@ dmap_connection_build_message (DMAPConnection *connection,
message
=
soup_message_new_from_uri
(
SOUP_METHOD_GET
,
uri
);
soup_message_headers_append
(
message
->
request_headers
,
"User-Agent"
,
DMAP_USER_AGENT
);
soup_message_headers_append
(
message
->
request_headers
,
"Client-DAAP-Version"
,
"3.0"
);
soup_message_headers_append
(
message
->
request_headers
,
"Accept-Language"
,
"en-us, en;q=5.0"
);
#ifdef HAVE_LIBZ
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment