Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
c3567e94
Commit
c3567e94
authored
Dec 15, 2000
by
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed case preservation of WWW-Authenticate header
parent
b26ccc00
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
lib/python/ZPublisher/HTTPResponse.py
lib/python/ZPublisher/HTTPResponse.py
+4
-3
No files found.
lib/python/ZPublisher/HTTPResponse.py
View file @
c3567e94
...
...
@@ -84,8 +84,8 @@
##############################################################################
'''CGI Response Output formatter
$Id: HTTPResponse.py,v 1.3
7 2000/11/06 15:17:29
brian Exp $'''
__version__
=
'$Revision: 1.3
7
$'
[
11
:
-
2
]
$Id: HTTPResponse.py,v 1.3
8 2000/12/15 15:35:17
brian Exp $'''
__version__
=
'$Revision: 1.3
8
$'
[
11
:
-
2
]
import
string
,
types
,
sys
,
regex
,
re
from
string
import
find
,
rfind
,
lower
,
upper
,
strip
,
split
,
join
,
translate
...
...
@@ -556,7 +556,8 @@ class HTTPResponse(BaseResponse):
def _unauthorized(self):
realm=self.realm
if realm: self['WWW-authenticate']='basic realm="
%
s
"' % realm
if realm:
self.setHeader('WWW-Authenticate', 'basic realm="
%
s
"' % realm, 1)
def unauthorized(self):
self._unauthorized()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment