mirror of
https://github.com/MikeWang000000/Natter.git
synced 2025-12-24 11:51:05 +08:00
fix: Remove redundant newline in UPnP POST request
This commit is contained in:
@@ -1125,7 +1125,7 @@ class UPnPService(object):
|
||||
"Content-Length: %d\r\n"
|
||||
"Connection: close\r\n"
|
||||
"\r\n"
|
||||
"%s\r\n" % (ctl_path, ctl_hostname, ctl_port, self.service_type, content_len, content)
|
||||
"%s" % (ctl_path, ctl_hostname, ctl_port, self.service_type, content_len, content)
|
||||
).encode()
|
||||
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user