[PATCH 2/2] If callback and sid is missing, return 412
- From: Jens Georg <mail jensge org>
- To: gupnp-list gnome org
- Subject: [PATCH 2/2] If callback and sid is missing, return 412
- Date: Tue, 24 May 2011 18:42:02 +0200
See Table 4-4 in UPnP DeviceArchitecture v1.1
---
libgupnp/gupnp-service.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libgupnp/gupnp-service.c b/libgupnp/gupnp-service.c
index 64f5673..6b5716c 100644
--- a/libgupnp/gupnp-service.c
+++ b/libgupnp/gupnp-service.c
@@ -1279,7 +1279,7 @@ subscription_server_handler (SoupServer *server,
} else {
soup_message_set_status
- (msg, SOUP_STATUS_BAD_REQUEST);
+ (msg, SOUP_STATUS_PRECONDITION_FAILED);
}
--
1.7.5.1
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]