Opened 16 years ago

Last modified 16 years ago

#999 enhancement closed fixed (fixed)

twisted.web2 HTTP Server Enhancements

Reported by: srichter Owned by:
Priority: normal Milestone:
Component: Keywords:
Cc: jknight, srichter, mkerrin Branch:
Author:

Description


Attachments (1)

http.diff (5.5 KB) - added by srichter 16 years ago.

Download all attachments as: .zip

Change History (4)

Changed 16 years ago by srichter

Attachment: http.diff added

comment:1 Changed 16 years ago by srichter

I have done two enhancements on the Web server:    
    
1. The request now keeps track of the bytes sent back to the client. This data    
can be used for access logs.    
    
2. The response object is now a key in the event dictionary that is sent to   
logging. This way observers know about the returned status code and message as   
well as the output headers. Again, some of this information is necessary for a   
useful access log.   
   
Both of these feature come with tests and are used to create an access log   
entry. I will probably send a patch for an abstract common access logger soon.

comment:2 Changed 16 years ago by srichter

James has integrated those changes.

comment:3 Changed 11 years ago by <automation>

Owner: jknight deleted
Note: See TracTickets for help on using tickets.