Mercurial > p > roundup > code
diff roundup/scripts/roundup_server.py @ 1299:b2d04ce03802
Email improvements.
- updated email package address formatting (deprecation)
- copied email address quoting from email v2.4.3 so we're consistent with 2.2
- email summary extraction now takes the first whole sentence or line -
whichever is longer
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Tue, 05 Nov 2002 22:59:46 +0000 |
| parents | 347657425a10 |
| children | 7c9fda4a6692 |
line wrap: on
line diff
--- a/roundup/scripts/roundup_server.py Thu Oct 31 04:07:12 2002 +0000 +++ b/roundup/scripts/roundup_server.py Tue Nov 05 22:59:46 2002 +0000 @@ -16,7 +16,7 @@ # """ HTTP Server that serves roundup. -$Id: roundup_server.py,v 1.14 2002-10-08 03:31:09 richard Exp $ +$Id: roundup_server.py,v 1.15 2002-11-05 22:59:46 richard Exp $ """ # python version check @@ -158,6 +158,7 @@ co = filter(None, self.headers.getheaders('cookie')) if co: env['HTTP_COOKIE'] = ', '.join(co) + env['HTTP_AUTHORIZATION'] = self.headers.getheader('authorization') env['SCRIPT_NAME'] = '' env['SERVER_NAME'] = self.server.server_name env['SERVER_PORT'] = str(self.server.server_port)
