From 1f40e9645d671cd5bc3695a7ee31fbd0a5630d6d Mon Sep 17 00:00:00 2001 From: jstocker76 Date: Tue, 17 Jan 2017 09:18:53 -0800 Subject: [PATCH] There are 2 changes- (#913) lines 53 and 61 - allows the http response from our ad api to set cookies. This somehow increases fill. everything else - fixes an issue where "no bid" responses aren't registered with prebid in certain cases, causing auction timeouts. --- src/adapters/rhythmone.js | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/src/adapters/rhythmone.js b/src/adapters/rhythmone.js index 46f3ffb0160..b86d3aee4d3 100644 --- a/src/adapters/rhythmone.js +++ b/src/adapters/rhythmone.js @@ -50,7 +50,7 @@ module.exports = function(bidManager, global, loader){ callback(200, "success", response.responseText); else callback(-1, "http error "+response.status, response.responseText); - }, false, {method:"GET"}); + }, false, {method:"GET", withCredentials: true}); } else{ loader(url, function(responseText, response){ @@ -58,7 +58,7 @@ module.exports = function(bidManager, global, loader){ callback(200, "success", response.responseText); else callback(-1, "http error "+response.status, response.responseText); - }, postData, {method:"POST", contentType: "application/json"}); + }, postData, {method:"POST", contentType: "application/json", withCredentials: true}); } } @@ -115,6 +115,7 @@ module.exports = function(bidManager, global, loader){ function noBids(params){ for(var i=0; i