def accept(self):

        newsock, addr = socket.accept(self)
        newsock = self.context.wrap_socket(newsock,
                                           do_handshake_on_connect=self.do_handshake_on_connect,
                                           suppress_ragged_eofs=self.suppress_ragged_eofs,
                                           server_side=True)
        return newsock, addr
Serve protected thumbnails to authenticated users.
dataset/ETHPy150Open veegee/guv/guv/green/_ssl33.py/SSLSocket.accept--crossover with--dataset/ETHPy150Open divio/django-filer/filer/server/views.py/serve_protected_thumbnail