Skip to content

Commit

Permalink
Fix test failures due to Content-Disposition header capitalization
Browse files Browse the repository at this point in the history
differences.
  • Loading branch information
mgedmin committed Mar 25, 2010
1 parent 13c7794 commit 5d7ba22
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGES.txt
Expand Up @@ -5,6 +5,9 @@ CHANGES
3.4.4 (unreleased)
------------------

- Fix test failures due to Content-Disposition header capitalization
differences.

3.4.3 (2008-10-13)
------------------

Expand Down
1 change: 1 addition & 0 deletions src/zope/testbrowser/tests.py
Expand Up @@ -374,6 +374,7 @@ def sub(self, replacement, text):
(re.compile(r'User-Agent: Python-urllib/2.5'), 'User-agent: Python-urllib/2.4'),
(re.compile(r'Host: localhost'), 'Connection: close'),
(re.compile(r'Content-Type: '), 'Content-type: '),
(re.compile(r'Content-Disposition: '), 'Content-disposition: '),
])

TestBrowserLayer = functional.ZCMLLayer(
Expand Down

0 comments on commit 5d7ba22

Please sign in to comment.