I have the same problem with on Windows Seven: - Python 2.7 - PyOpenSSL (pyOpenSSL-0.13-py2.7-win32.egg)
I'm trying with SimpleSecureHTTPServer.py from http://code.activestate.com/recipes/442473-simple-http-server-supporting-ssl-secure-communica/
Serving HTTPS on 0.0.0.0 port 9000 ... mymachine - - [06/Dec/2011 15:37:52] code 404, message File not found mymachine - - [06/Dec/2011 15:37:52] "GET /test HTTP/1.1" 04 - ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 54408) Traceback (most recent call last): File "C:\Python27\lib\SocketServer.py", line 284, in _handle_request_noblock self.process_request(request, client_address) File "C:\Python27\lib\SocketServer.py", line 311, in process_request self.shutdown_request(request) File "C:\Python27\lib\SocketServer.py", line 459, in shutdown_request request.shutdown(socket.SHUT_WR) TypeError: shutdown() takes exactly 0 arguments (1 given) ---------------------------------------- Traceback (most recent call last): File "C:\Users\mylogin\Desktop\test.py", line 60, in <module> test() File "C:\Users\mylogin\Desktop\test.py", line 56, in test httpd.serve_forever() File "C:\Python27\lib\SocketServer.py", line 227, in serve_forever self._handle_request_noblock() File "C:\Python27\lib\SocketServer.py", line 287, in _handle_request_noblock self.shutdown_request(request) File "C:\Python27\lib\SocketServer.py", line 459, in shutdown_request request.shutdown(socket.SHUT_WR) TypeError: shutdown() takes exactly 0 arguments (1 given)
Thanks.
I have the same problem with on Windows Seven: 0.13-py2. 7-win32. egg)
- Python 2.7
- PyOpenSSL (pyOpenSSL-
I'm trying with SimpleSecureHTT PServer. py from http:// code.activestat e.com/recipes/ 442473- simple- http-server- supporting- ssl-secure- communica/
Serving HTTPS on 0.0.0.0 port 9000 ... ------- ------- ------- ------- ----- lib\SocketServe r.py", line 284, in _handle_ request_ noblock process_ request( request, client_address) lib\SocketServe r.py", line 311, in process_request shutdown_ request( request) lib\SocketServe r.py", line 459, in shutdown_request shutdown( socket. SHUT_WR) ------- ------- ------- ------- ----- mylogin\ Desktop\ test.py" , line 60, in <module> mylogin\ Desktop\ test.py" , line 56, in test serve_forever( ) lib\SocketServe r.py", line 227, in serve_forever _handle_ request_ noblock( ) lib\SocketServe r.py", line 287, in _handle_ request_ noblock shutdown_ request( request) lib\SocketServe r.py", line 459, in shutdown_request shutdown( socket. SHUT_WR)
mymachine - - [06/Dec/2011 15:37:52] code 404, message File
not found
mymachine - - [06/Dec/2011 15:37:52] "GET /test HTTP/1.1"
04 -
-------
Exception happened during processing of request from ('127.0.0.1', 54408)
Traceback (most recent call last):
File "C:\Python27\
self.
File "C:\Python27\
self.
File "C:\Python27\
request.
TypeError: shutdown() takes exactly 0 arguments (1 given)
-------
Traceback (most recent call last):
File "C:\Users\
test()
File "C:\Users\
httpd.
File "C:\Python27\
self.
File "C:\Python27\
self.
File "C:\Python27\
request.
TypeError: shutdown() takes exactly 0 arguments (1 given)
Thanks.