• Martijn Pieters's avatar
    XML-RPC requests would cause REQUEST_METHOD to be cleared to avoid searching · bf924768
    Martijn Pieters authored
    for 'index_html' default views. This breaks things like Cookie Crumbler. And
    yes, when you use a JavaScript XML-RPC library, the browser could include an
    authentication cookie for CookieCrumbler.
    
    Instead, do not clear REQUEST_METHOD but check for a xmlrpc.Response object
    when initiating the variable that will cause 'index_html' views to be used.
    
    This fixes Zope Collector issue #528.
    bf924768
HTTPRequest.py 58.6 KB