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
08ea21d5
Commit
08ea21d5
authored
Dec 22, 2004
by
Andreas Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Collector #1151: HTTP compression was broken on error pages
parent
df48363b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
doc/CHANGES.txt
doc/CHANGES.txt
+2
-0
lib/python/ZPublisher/HTTPResponse.py
lib/python/ZPublisher/HTTPResponse.py
+1
-1
No files found.
doc/CHANGES.txt
View file @
08ea21d5
...
...
@@ -51,6 +51,8 @@ Zope Changes
Bugs fixed
- Collector #1151: HTTP compression was broken on error pages
- The REQUEST now contains a new entry ACTUAL_URL which contains the
full URL without query string as it appears within the location bar of
the browser. The key has been added to provide a single key that is
...
...
lib/python/ZPublisher/HTTPResponse.py
View file @
08ea21d5
...
...
@@ -351,7 +351,7 @@ class HTTPResponse(BaseResponse):
self
.
setHeader
(
'content-length'
,
len
(
self
.
body
))
self
.
insertBase
()
if
self
.
use_HTTP_content_compression
and
\
not
self
.
headers
.
get
(
'content-encoding'
,
None
)
:
self
.
headers
.
get
(
'content-encoding'
,
'gzip'
)
==
'gzip'
:
# use HTTP content encoding to compress body contents unless
# this response already has another type of content encoding
if
content_type
.
split
(
'/'
)[
0
]
not
in
uncompressableMimeMajorTypes
:
...
...
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