Giter Site home page Giter Site logo

Comments (3)

hubbubca avatar hubbubca commented on June 9, 2024

I definitely noticed the returned headers where missing, as I was just this
minute about to look for them.

Cheers,
PJ

On Tue, Nov 4, 2014 at 11:33 AM, Claude Villermain <[email protected]

wrote:

This plugin is great to provide (at last) some way to implement
certificate pinning into Cordova-based applications. The SSLCertificateChecker
plugin
https://github.com/EddyVerbruggen/SSLCertificateChecker-PhoneGap-Plugin
is another one but it only allows one-time checks.

However, I think that it would be good to document som of the features not
available as developers may think that they could replace their Ajax (or
equivalent) calls with this plugin.

Based on quick tests I found the following as not supported:

  • cookies support (a cookie set by a request isn't sent in subsequent
    requests)
  • read content of error responses (only the HTTP status code and
    message are returned)
  • read returned HTTP headers (e.g. in case security tokens are
    returned as headers)

I also had a good surprise when seeing that pinning issuing CA
certificates was supported too, so that applications don't have to be
updated in case server certificates are renewed by using the same CA. It
may be good to add it to the documentation.

If my comments above are valid (they are only based on quick tests), I can
propose changes to the README file to bring my own contribution to this
great piece of work.

Reply to this email directly or view it on GitHub
#26.

Patrick J P Shields
[email protected]

from cordova-http.

allie-wake-up avatar allie-wake-up commented on June 9, 2024

These issues all seem valid to me. I would gladly accept a PR pointing them out in the README. Thanks

from cordova-http.

allie-wake-up avatar allie-wake-up commented on June 9, 2024

Fixed with #29

from cordova-http.

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.