[ZCM] [ZC] 2278/ 3 Comment "Invalid header separators cause ServerProtocolViolation with .NET WebClient/WebRequest"
"Collector: Zope Bugs, Features, and Patches ..." <[email protected]> Mon, 12 Feb 2007 13:08:32 -0500
| Newsgroups | gmane.comp.web.zope.devel.collector-monitor |
|---|---|
| Message-ID | <[email protected]> |
Issue #2278 Update (Comment) "Invalid header separators cause ServerProtocolViolation with .NET WebClient/WebRequest" Status Accepted, Zope/bug medium To followup, visit: http://www.zope.org/Collectors/Zope/2278 ============================================================== = Comment - Entry #3 by dreamcatcher on Feb 12, 2007 1:08 pm Uploaded: "doctest-bodyre.patch" - http://www.zope.org/Collectors/Zope/2278/doctest-bodyre.patch/view The fix breaks an assumption in ZopeTestCase functional doctest package. The following patch adjusts ZopeTestCase to behave appropriately. ________________________________________ = Assign - Entry #2 by ajung on Feb 12, 2007 4:14 am Status: Pending => Accepted Supporters added: dreamcatcher ________________________________________ = Request - Entry #1 by dreamcatcher on Feb 12, 2007 4:08 am Uploaded: "header-separator.patch" - http://www.zope.org/Collectors/Zope/2278/header-separator.patch/view Zope uses '\n' as the header separator in some places, which causes .NET to complain with a ServerProtocolViolation exception. The HTTP RFC is not 100% clear if that is a MUST or SHOULD, though it always uses CRLF when referring to headers. Patch against Zope 2.9 ==============================================================