Login | Register
My pages Projects Community openCollabNet

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[catacomb] bad request when i try to lock a resource



i've tried to send a lock request and i either have the server sending me a 400
(BadRequest) response code, or (when i add a Content-Length header)
 no answer at all.

this is my request :

requestheaders: 
    [Host] => localhost 
    [User-Agent] => PEAR HTTP_Request class ( http://pear.php.net/ ) 
    [Connection] => close 
    [Authorization] => Basic cm9vdDp5b3VwaQ== 
    [Timeout] => Infinite, Second-4100000000 
    [Depth] => 0 
    [Content-Type] => text/xml 
(and optionally
    [Content-Length] => 194)

requestbody:
    <?xml version="1.0" encoding="utf-8" ?>
        <D:lockinfo xmlns:D='DAV:'>
            <D:lockscope><D:exclusive/></D:lockscope>
            <D:locktype><D:write/></D:locktype>
            <D:owner>
                <D:href>
                    mailto:decout@tech3-portable.utt.fr
                </D:href>
            </D:owner>
        </D:lockinfo>

have i missed some obvious point ?


-- 
sylvain decout
étudiant à l'Université de Technologie de Troyes
(Génie des Systèmes d'Information et Télécommunications)