Fix sqlapi request header to be "Host", not "Hostname"
Closes (better) #117 -- automated test included
This commit is contained in:
@@ -95,7 +95,7 @@ module.exports = function(){
|
||||
//
|
||||
request.post({
|
||||
url:sqlapi, body:qs, json:true,
|
||||
headers:{hostname:sqlapihostname}
|
||||
headers:{host: sqlapihostname}
|
||||
}, function(err, res, body)
|
||||
{
|
||||
if (err){
|
||||
|
||||
Reference in New Issue
Block a user