Remove obsolete BaseHTTPRequestHandler method

This commit is contained in:
croneter 2021-10-18 09:58:16 +02:00
parent c107eb2ed8
commit d37fbb6c1a

View file

@ -80,9 +80,6 @@ class MyHandler(BaseHTTPRequestHandler):
'x-plex-device, x-plex-device-screen-resolution') 'x-plex-device, x-plex-device-screen-resolution')
self.end_headers() self.end_headers()
def sendOK(self):
self.send_response(200)
def response(self, body, headers=None, code=200): def response(self, body, headers=None, code=200):
headers = {} if headers is None else headers headers = {} if headers is None else headers
try: try: