|
|
@@ -47,6 +47,8 @@ class SSDPServer(DatagramProtocol): |
|
|
|
"""Handle a received multicast datagram.""" |
|
|
|
|
|
|
|
# Break up message in to command and headers |
|
|
|
# TODO: use the email module after trimming off the request line.. |
|
|
|
# This gets us much better header support. |
|
|
|
|
|
|
|
header, payload = data.split('\r\n\r\n') |
|
|
|
lines = header.split('\r\n') |