Lock capability discovery

  • Werner Donné

    Werner Donné - 2006-11-18


    When "use_locks" is on the tool should still check the "Allowed" header or the "supportedlocks" property in order to find out whether locking is supported by the server or not.



    • Werner Baumann

      Werner Baumann - 2007-02-18

      Hello Werner,

      sorry for this late answer. But I did not know there is this forum on our sf.net page. Seems you are the first one to discover and use it.

      Meanwhile I added an OPTIONS-request and check for the DAV compliance class. Only when this is 2 locks will be used. I think this should do the task, as class 2 servers must support locks, allthough there might be class 1 servers that support locks too, but this seems to be very unlikely.

      I know of one server (box.net) that claims to be class 2 and does not support locks. But this server is not able to respond to a HEADER-request correctly, so I doubt it will know about Allowed and supportedlocks.



Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks