This branch constitutes the HTTP code that I wrote to help with using the HTTP Server.
details: branch: private_JMB_HTTPSupport branch point: 5975 To review: cd branches/private_JMB_HTTPSupport svn diff -r5975:HEAD New files: Kamaelia/Support/Protocol/HTTP.py: Adds a number of miscellaneous utility functions for dealing with HTTP code. This includes support for translators (which allow one to use a more WSGI-like interface for HTTP handlers), some common URI manipulations, and factory functions to simplify instantiating the HTTPServer. Examples/TCP_Systems/HTTP/errorhandler.py: This is an example demonstrating the use of the error handler component. There's not really a whole lot to this, but I suppose that's the point. Changed files: Kamaelia/Protocol/HTTP/ErrorPages.py: Added a component that functions roughly as the getErrorPage function does. This makes using error pages much simpler. Kamaelia/Protocol/HTTP/Handlers/Minimal.py: Added support for index files and added a factory function to simplify instantiating Minimal. Kamaelia/Protocol/HTTP/HTTPParser.py: Added support for query strings. Kamaelia/Protocol/HTTP/HTTPServer.py: Updated test script to use ServerCore and HTTPProtocol. Kamaelia/Protocol/HTTP/HTTPRequestHandler.py: Added case- sensitivity handling and fixed issue with deadlocking on component shutdown. Examples/TCP_Systems/HTTP/cookbook_1.py & cookbook_2.py: simplified examples by using the new HTTP support code. To merge (if happy): cd trunk/Code/Python svn merge -r5975:HEAD ../../../branches/private_JMB_HTTPSupport . svn ci --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "kamaelia" group. To post to this group, send email to kamaelia@googlegroups.com To unsubscribe from this group, send email to kamaelia+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/kamaelia?hl=en -~----------~----~----~----~------~----~------~--~---