Hi Again, I tested nightly release of Thunderbird 24 extension from http://inverse.ca/downloads/extensions/nightly/ ( sogo-connector-24.0.0-f20dbf4f47.xpi<http://inverse.ca/downloads/extensions/nightly/sogo-connector-24.0.0-f20dbf4f47.xpi> ) Not it add If-None-Match:* header and created contact in Zimbra.
Here is the request and response: PUT /dav/ [email protected]/contacts/C5E7628D-A670-0001-D8B8-15501C182AD0.vcfHTTP/1.1 Host: x.y.z User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 Lightning Accept: text/xml Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate accept-charset: utf-8,*;q=0.1 Content-Type: text/vcard; charset=utf-8 If-None-Match: * Content-Length: 172 Authorization: Basic dGFrdmltdGVzdEB5ZW5pZ3VsLm5ldDoxMjM0NTY= Connection: keep-alive Pragma: no-cache Cache-Control: no-cache BEGIN:VCARD VERSION:3.0 PRODID:-//Inverse inc.//SOGo Connector 1.0//EN UID:C5E7628D-A670-0001-D8B8-15501C182AD0.vcf N:;st v3 FN:st X-MOZILLA-HTML:FALSE END:VCARD response: HTTP/1.1 204 No Content Date: Thu, 31 Oct 2013 13:47:21 GMT ETag: "13193-13193" Ismail YENIGUL www.outlookdav.com 2013/10/31 Ismail Yenigul <[email protected]> > Hi, > > I am using addressbook feature of SOGo Connector Thunderbird extension > 17.0.5 on Thunderbird 24 > I added a remote addressbook of Zimbra to Thunderbird. > When I start sync, I can get the contacts from Zimbra, But If I create a > contact on thunderbird and sync to zimbra, I got the following error: > > HTTP/1.1 409 Conflict > Date: Thu, 31 Oct 2013 13:31:39 GMT > Content-Length: 0 > > The problem is here, SOGo does not send If-None-Match header in PUT > request for a new contact. > Here is the full session capture for creating a contact: > If I add If-None-Match:* header then Zimbra accept the contact. > > > > PUT /dav/ > [email protected]/contacts/C5E761B0-A2D0-0001-8B56-510F10B5AA50.vcfHTTP/1.1 > Host: 172.16.45.113 > User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:24.0) Gecko/20100101 > Thunderbird/24.1.0 Lightning > Accept: text/xml > Accept-Language: en-US,en;q=0.5 > Accept-Encoding: gzip, deflate > accept-charset: utf-8,*;q=0.1 > Content-Type: text/vcard; charset=utf-8 > Content-Length: 175 > Authorization: Basic dGFrdmltdGVzdEB5ZW5pZ3VsLm5ldDoxMjM0NTY= > Connection: keep-alive > Pragma: no-cache > Cache-Control: no-cache > > BEGIN:VCARD > VERSION:3.0 > PRODID:-//Inverse inc.//SOGo Connector 1.0//EN > UID:C5E761B0-A2F0-0001-6D60-B4201E3D39B0 > N:;new one > FN:new one > X-MOZILLA-HTML:FALSE > END:VCARD > > > > Response: > > HTTP/1.1 409 Conflict > Date: Thu, 31 Oct 2013 13:31:39 GMT > Content-Length: 0 > > > -- [email protected] https://inverse.ca/sogo/lists
