sintaxi / dbox

NodeJS SDK for Dropbox API (THIS LIBRARY IS OBSOLETE!!)
514 stars 91 forks source link

Request object shows AuthorizationError on put #62

Open jeremycondon opened 11 years ago

jeremycondon commented 11 years ago

I don't know if this is a dropbox issue or something else, but when I look at the request object on "put" it has the following values: r.connection.authorized: false r.connection.authorizationErrors: Hostname/IP doesn't match certificate's altnames

This is still working because the request object does not have "rejectUnauthorized: true" set.

The correct behavior should be to fail if the certificate can't be verified.