2014年8月11日 星期一

011 Twisted Network Programming, Hock httpd server for testing http status code


https://github.com/vash-hsu/python/tree/master/python_twisted

python_twisted>python httpd_mock_status_code.py
Usage: httpd_mock_status_code.py [Port Number]
  i.e. httpd_mock_status_code.py 8000
       hosting httpd on *:8000



Illustration



httpd debuglog message

Fidder Web Debugger



Tools:

http://en.wikipedia.org/wiki/List_of_HTTP_status_codes
https://twistedmatrix.com/trac/#webserver
http://docs.telerik.com/fiddler/configure-fiddler/tasks/configurefiddler
http://msdn.microsoft.com/en-us/library/windows/desktop/dd371782%28v=vs.85%29.aspx


沒有留言:

張貼留言