[PATCH 1/2] Add quotes around charset value in HTTP header
- From: Sven Neumann <s neumann raumfeld com>
- To: gupnp-list gnome org
- Subject: [PATCH 1/2] Add quotes around charset value in HTTP header
- Date: Tue, 19 Apr 2011 14:46:09 +0200
The UPnP spec requires quotes around the charset value in the
Content-Type HTTP header for action responses.
---
libgupnp/gupnp-service-proxy.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libgupnp/gupnp-service-proxy.c b/libgupnp/gupnp-service-proxy.c
index 3400576..c976c9b 100644
--- a/libgupnp/gupnp-service-proxy.c
+++ b/libgupnp/gupnp-service-proxy.c
@@ -787,7 +787,7 @@ finish_action_msg (GUPnPServiceProxyAction *action,
"</s:Envelope>");
soup_message_set_request (action->msg,
- "text/xml; charset=utf-8",
+ "text/xml; charset=\"utf-8\"",
SOUP_MEMORY_TAKE,
action->msg_str->str,
action->msg_str->len);
--
1.7.1
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]