[gupnp] Add "Ext" header to SOAP action responses



commit b6da26f713189cfc40ed9cfa3e0296e62ea830bc
Author: Jens Georg <mail jensge org>
Date:   Thu Jun 9 15:53:25 2011 +0200

    Add "Ext" header to SOAP action responses
    
    Mandatory by UPnP CTT test UDA-3.1.2.

 libgupnp/gupnp-service.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libgupnp/gupnp-service.c b/libgupnp/gupnp-service.c
index 03a2cd7..db8d89d 100644
--- a/libgupnp/gupnp-service.c
+++ b/libgupnp/gupnp-service.c
@@ -290,6 +290,8 @@ 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,



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