Changes between Initial Version and Version 1 of Ticket #8558


Ignore:
Timestamp:
Mar 2, 2011 3:31:14 PM (3 years ago)
Author:
osimons
Comment:

XmlRpcPlugin is not involved in authentication at all, so moving it to that other plugin.

Hint: Use {{{ .... }}} blocks when pasting pre-formatted text.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #8558

    • Property Owner changed from osimons to coderanger
    • Property Component changed from XmlRpcPlugin to HttpAuthPlugin
  • Ticket #8558 – Description

    initial v1  
    33I debugged it by fiddler HTTP debugger and I have found, that trac send wrong Content-Length (23bytes). It sends text "Authentication required" which is exactly 23bytes. But there is small HTML block appended, which cause, that content length is wrong. I can reproduce it with python 2.5 and python 2.7 as well. I have attached the output of fiddler, please see bellow. I find interesting, that the request is made via HTTP 1.1, but in repsonse HTTP 0.9 is mentioned. 
    44 
    5  
     5{{{ 
    66POST http://10.250.10.55/mew/login/xmlrpc HTTP/1.1 
    77Content-Type: text/xml 
     
    2222  </params> 
    2323</methodCall> 
     24}}} 
    2425 
    25  
     26{{{ 
    2627HTTP/1.1 401 Unauthorized 
    2728Server: tracd/0.12.2 Python/2.7 
     
    4445</body> 
    4546 
     47}}}