Removing spurious strictSSL settings

This commit is contained in:
Richard Barnes 2015-06-08 15:45:09 -04:00
parent fca1567cb2
commit 9e05b2e191
1 changed files with 0 additions and 2 deletions

View File

@ -159,7 +159,6 @@ function parseLink(link) {
function getNonce(url, callback) {
var req = request.head({
url: url,
strictSSL: false
}, function(error, response, body) {
if ("replay-nonce" in response.headers) {
console.log("Storing nonce: " + response.headers["replay-nonce"]);
@ -195,7 +194,6 @@ function post(url, body, callback) {
var req = request.post({
url: url,
encoding: null, // Return body as buffer, needed for certificate response
strictSSL: false,
}, function(error, response, body) {
Object.keys(response.headers).forEach(function(key) {
var value = response.headers[key];