GithubHelp home page GithubHelp logo

Comments (9)

geier avatar geier commented on May 14, 2024

vdirsyncer could figure out by itself if the server wants basic or digest auth, removing that config option or at least make it optional (user's often don't know what their CalDAV server wants). Most other clients don't need any information on that, making it not very far spread knowledge.

Also it should be rather easy to implemenet as the server sends WWW-Authenticate: Digest [...] or WWW-Authenticate: Basic [...].

from vdirsyncer.

untitaker avatar untitaker commented on May 14, 2024

I thought this could actually be a neat feature for requests, so i filed it there: https://github.com/kennethreitz/requests/issues/2006

from vdirsyncer.

geier avatar geier commented on May 14, 2024

Great, I'll keep an eye on that one.

from vdirsyncer.

untitaker avatar untitaker commented on May 14, 2024

A relevant pull-request has been merged into requests-toolbelt at requests/toolbelt#28. The question is: Should we start to depend on requests-toolbelt for this, or just inline the relevant code? I don't think depending on a not very popular library is really justified if we only need such a small portion of its functionality, but OTOH it is less maintenance for me.

from vdirsyncer.

untitaker avatar untitaker commented on May 14, 2024

Thinking another ten seconds about it i came to the conclusion that depending on that package is better as it uses some lower-level parts of request's API which i am not comfortable dealing with.

from vdirsyncer.

sigmavirus24 avatar sigmavirus24 commented on May 14, 2024

@untitaker also, the toolbelt is (unfortunately for my free time) more popular than you might think.

from vdirsyncer.

untitaker avatar untitaker commented on May 14, 2024

I meant, relative to the other dependencies of vdirsyncer: requests, lxml...

from vdirsyncer.

untitaker avatar untitaker commented on May 14, 2024

Well, leif is not popular at all, but i am using 100% of its code, so it's okay. icalendar contains logic i don't ever want to maintain, so that's okay too.

from vdirsyncer.

untitaker avatar untitaker commented on May 14, 2024

Done, last related commit in 308ac53.

from vdirsyncer.

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.