Uploaded image for project: 'Nuxeo Drive '
  1. Nuxeo Drive
  2. NXDRIVE-31

Drive: study the feasibility of using PycURL instead of urllib2 as the main HTTP library

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Authentication

      Description

      One reason to use PycURL is that it can be used with Python 2.x to achieve SSL client certification, whereas it seems that urllib2 needs Python 3 to work well.
      By default, Python 2.x with urllib2 will prompt for the password upon each request, which is unacceptable. Python 3.x allows the password to be captured externally and then passed to the underlying http library to open and subsequently pass the certificate to the server.

      However, PycURL introduces a native dependency on libcurl so packaging for Windows / OS X needs to be validated.

      PycURL might also be more performant as it uses a native library.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 2 days
                  2d
                  Remaining:
                  Time Spent - 1 day Remaining Estimate - 1 day
                  1d
                  Logged:
                  Time Spent - 1 day Remaining Estimate - 1 day
                  1d