[zope2-tracker] [Bug 740831] Re: Response.write + ConflictError = desaster

dmaurer dieter at handshake.de
Wed Mar 23 07:26:44 EDT 2011


"dm.zopepatches.fix_responsewrite_conflict" essentially prepends  to
"ZPublisher.HTTPRequest.HTTPRequest.supports_retry" an

  if getattr(self.response, "_streaming", False):
    # we try to retry a request whose response has already (at least partially)
    # been written -- this leads to desaster (wrong responses to subsequents
    # requests). Prevent it.
    logger.error("prevent request retry for which part of its response has already been written")
    return False

-- 
You received this bug notification because you are a member of Zope 2
Developers, which is subscribed to Zope 2.
https://bugs.launchpad.net/bugs/740831

Title:
  Response.write + ConflictError = desaster


More information about the zope2-tracker mailing list