Comments (3)
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.
These issues all seem valid to me. I would gladly accept a PR pointing them out in the README. Thanks
from cordova-http.
Fixed with #29
from cordova-http.
Related Issues (20)
- Cordova plugin Fetch HOT 1
- how to stop http request HOT 1
- Uncaught TypeError: cordova.callbackFromNative is not a function HOT 1
- set http post header not work
- body args
- IOS simulator not making http request
- Android - How can I get a website's source content?
- Error Domain=com.alamofire.error.serialization.response Code=-1011 "Request failed: not found (404)"
- Error Domain=com.alamofire.error.serialization.response Code=-1011 "Request failed: not found (404)"
- With Multi domain SSL certificate APIs are not working.
- How to get response.data
- unable to build on phonegap (org.apache.cordova.file does not exist) HOT 1
- cordovaHTTP can not be register HOT 4
- How to send FormData in post request?
- cordovaHTTP is not defined HOT 1
- enableSSLPinning is not working in Android and iOS
- GET API not returning response in iOS 10
- How to abort a request on cordovaHTTP?
- cordovaHTTP.get sends no data but claims internal server error (500)
- how to use with websocket?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cordova-http.