[PATCH] Add "Ext" header to SOAP action responses.



Mandatory by UPnP CTT test UDA-3.1.2
---
 libgupnp/gupnp-service.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/libgupnp/gupnp-service.c b/libgupnp/gupnp-service.c
index 03a2cd7..9890c01 100644
--- a/libgupnp/gupnp-service.c
+++ b/libgupnp/gupnp-service.c
@@ -290,6 +290,11 @@ finalize_action (GUPnPServiceAction *action)
                 g_string_free (action->response_str, FALSE);
         }
 
+        soup_message_headers_append
+                        (action->msg->response_headers,
+                         "Ext",
+                         "");
+
         /* Server header on response */
         soup_message_headers_append
                         (action->msg->response_headers,
-- 
1.7.5.4



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]