Giter Site home page Giter Site logo

Comments (2)

aenario avatar aenario commented on July 1, 2024

So,

METHOD PROPFIND / STATUS 207
METHOD OPTIONS / STATUS 200
METHOD PROPFIND / STATUS 401 UNAUTHORIZED

Could you log the request's headers to see if the 3rd request has actually no Authorization headers ?

For the precondition fail test, This is very weird indeed : it looks like its trying to create a new event (If-None-Match header). For Updates, the header should be (If-Match). Could you log the complete request (with headers) ?

from cozy-sync.

m4dz avatar m4dz commented on July 1, 2024

So, I tried to reproduce the sequence of doom… Here it is!

PROFIND 207

Resume:

URL: https://matthias.cozycloud.cc/public/sync/calendars/me/
Status: Complete
Response Code: 207 Multi-Status
Protocol: HTTP/1.1
Method: PROPFIND
Kept Alive: Yes
Content-Type: application/xml; charset=utf-8
Client Addres: /192.168.1.2
Remote Address: matthias.cozycloud.cc/176.31.234.107

Headers:

    PROPFIND /public/sync/principals/me/ HTTP/1.1
Host    matthias.cozycloud.cc
User-Agent  iOS/8.2 (12D508) dataaccessd/1.0
Accept-Language fr-fr
Accept-Encoding gzip, deflate
Accept  */*
Content-Type    text/xml
Prefer  return=minimal
Depth   0
Connection  keep-alive
Cookie  express:sess=eyJwYXNzcG9ydCI6e319; express:sess.sig=1SBZncwHX1_yo8X3CZxeRellg8Y
Authorization   Basic bWU6ZTF5ODUxSXJvbA==
Content-Length  267
Proxy-Connection    keep-alive
Brief   t

PROFIND 401

Resume:

URL: https://matthias.cozycloud.cc/public/sync/principals/me/
Status: Complete
Response Code: 401 Unauthorized
Protocol: HTTP/1.1
Method: PROPFIND
Kept Alive: No
Content-Type: application/xml; charset=utf-8
Client Address: /192.168.1.2
Remote Address: matthias.cozycloud.cc/176.31.234.107

Headers:

    PROPFIND /public/sync/principals/me/ HTTP/1.1
Host    matthias.cozycloud.cc
User-Agent  iOS/8.2 (12D508) dataaccessd/1.0
Accept-Language fr-fr
Accept-Encoding gzip, deflate
Accept  */*
Content-Type    text/xml
Prefer  return=minimal
Depth   0
Connection  keep-alive
Cookie  express:sess=eyJwYXNzcG9ydCI6e319; express:sess.sig=1SBZncwHX1_yo8X3CZxeRellg8Y
Proxy-Connection    keep-alive
Content-Length  743
Brief   t

PROFIND 207

Resume:

URL: https://matthias.cozycloud.cc/public/sync/principals/me/
Status: Complete
Response Code: 207 Multi-Status
Protocol: HTTP/1.1
Method: PROPFIND
Kept Alive: Yes
Content-Type: application/xml; charset=utf-8
Client Address: /192.168.1.2
Remote Address: matthias.cozycloud.cc/176.31.234.107

Headers:

    PROPFIND /public/sync/principals/me/ HTTP/1.1
Host    matthias.cozycloud.cc
User-Agent  iOS/8.2 (12D508) dataaccessd/1.0
Accept-Language fr-fr
Accept-Encoding gzip, deflate
Accept  */*
Content-Type    text/xml
Prefer  return=minimal
Depth   0
Connection  keep-alive
Cookie  express:sess=eyJwYXNzcG9ydCI6e319; express:sess.sig=1SBZncwHX1_yo8X3CZxeRellg8Y
Authorization   Basic bWU6ZTF5ODUxSXJvbA==
Content-Length  743
Proxy-Connection    keep-alive
Brief   t

OPTIONS 200

Resume:

URL: https://matthias.cozycloud.cc/public/sync/principals/me/
Status: Complete
Response Code: 200 OK
Protocol: HTTP/1.1
Method: OPTIONS
Kep-Alive: Yes
Content-Type:
Client Address: /192.168.1.2
Remote Address: matthias.cozycloud.cc/176.31.234.107

Headers:

    OPTIONS /public/sync/principals/me/ HTTP/1.1
Host    matthias.cozycloud.cc
Authorization   Basic bWU6ZTF5ODUxSXJvbA==
Accept-Encoding gzip, deflate
Accept  */*
Cookie  express:sess=eyJwYXNzcG9ydCI6e319; express:sess.sig=1SBZncwHX1_yo8X3CZxeRellg8Y
Accept-Language fr-fr
Content-Length  0
Connection  keep-alive
Proxy-Connection    keep-alive
User-Agent  iOS/8.2 (12D508) dataaccessd/1.0

from cozy-sync.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.