diff --git a/src/sugar/network.py b/src/sugar/network.py index 34d496c0..217c0777 100644 --- a/src/sugar/network.py +++ b/src/sugar/network.py @@ -75,6 +75,12 @@ class GlibTCPServer(SocketServer.TCPServer): # let the request be closed by the request handler when its done pass + def shutdown_request(self, request): + """Called to shutdown and close an individual request.""" + # like close_request, let the request be closed by the request handler + # when done + pass + class ChunkedGlibHTTPRequestHandler(SimpleHTTPServer.SimpleHTTPRequestHandler): """RequestHandler class that integrates with Glib mainloop. It writes