In universal Plug and Play Device Architecture
Specification in section 4.1.1 (4.1.1 Eventing:
Subscribing: SUBSCRIBE with NT and CALLBACK)
specified this message to answer on subscription
rquest:
[QUOTE]
HTTP/1.1 200 OK
DATE: when response was generated
SERVER: OS/version UPnP/1.0 product/version
SID : uuid: subscription-UUID
TIMEOUT: Second- actual subscription duration
(No body for response to a request with method
SUBSCRIBE, but note that the message must have a
blank line following the last HTTP header.)
[/QUOTE]
This message does not include 'Content-Length: 0'
HTTP header/value. It is necessary for DLNA test.
Path for cvs libupnp version in attachment.
subscription response content-length patch
Logged In: YES
user_id=865654
question :
can you indicate a document (W3C, DLNA, ...) specifying
this ?
answer :
http://www.upnp.org/resources/documents/CleanUPnPDA101-20031202s.pdf
page 62
"If the device sends the response over HTTP/1.0 without
setting the KeepAlive
tok
en, or over HTTP/1.1 with the Connection: CLOSE header,
the device MUST insure
t
hat the TCP FIN flag is sent BEFORE sending the initial
event message. In all
ot
her cases, (unless the response is chunked), a
Content-Length MUST be
specified,
(and set to 0), prior to sending the initial event."
Logged In: YES
user_id=865654
Patch applied in CVS
-> fix will be in next release.
Thanks