diff options
author | Stephan Richter <stephan.richter@gmail.com> | 2005-04-28 10:35:17 +0000 |
---|---|---|
committer | Stephan Richter <stephan.richter@gmail.com> | 2005-04-28 10:35:17 +0000 |
commit | d3de89ea3cca538fd6b48796dcf331bd7156fcf0 (patch) | |
tree | 179bc919541c400771164dffd6ff5f17ebd4d934 | |
parent | 4e26b3f033ba67820f6bc9cbdfd91e77cbff4352 (diff) | |
download | zope-publisher-monolithic-zope3-srichter-twisted-integration.tar.gz |
Made header name non-zope specific to play nice with twisted.monolithic-zope3-srichter-twisted-integration
-rw-r--r-- | http.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -468,11 +468,13 @@ class HTTPRequest(BaseRequest): 'See IPublicationRequest' super(HTTPRequest, self).setPrincipal(principal) + # XXX: This should really become an event that other parts of the + # framework can listen to. logging_info = ILoggingInfo(principal, None) if logging_info is not None: message = logging_info.getLogMessage() if message is not None: - self.response.setHeader('x-zope-principal', message) + self.response.setHeader('x-principal', message) def _createResponse(self, outstream): # Should be overridden by subclasses |