Hello

Please open a bug report for that at https://sogo.nu/bugs


Kind regards,
Christian Mack

Am 04.08.22 um 10:15 schrieb Robo Burned ([email protected]):
When I make a request to create a address book collection on the URL that
is already mapped to an existing address book resource  Error 400 "Request
Failed" is returned
As I can understand, according to RFC
https://datatracker.ietf.org/doc/html/rfc4918#section-9.3.1 error 405
should be returned instead.
Looks like a bug.

Example of request:
MKCOL https://../SOGo/dav/../Contacts/AddressBook1/
<?xml version='1.0'?>
<D:mkcol xmlns:D="DAV:" xmlns:A="urn:ietf:params:xml:ns:carddav">
   <D:set>
     <D:prop>
       <D:resourcetype>
         <D:collection/>
         <A:addressbook/>
       </D:resourcetype>
     </D:prop>
   </D:set>
</D:mkcol>

Example of response:
HTTP/1.1 400 Request Failed
Server: nginx/1.18.0
Date: Mon, 01 Aug 2022 07:35:26 GMT
Content-Type: application/xml; charset="utf-8"
Content-Length: 107
Connection: keep-alive

<?xml version="1.0" encoding="utf-8"?>
<D:error xmlns:D="DAV">The new folder could not be created</D:error>


--
Christian Mack
Universität Konstanz
Kommunikations-, Informations-, Medienzentrum (KIM)
Abteilung IT-Dienste Forschung, Lehre, Infrastruktur
78457 Konstanz
+49 7531 88-4416

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to