@everymatrix/casino-search 1.13.9 → 1.13.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5350,15 +5350,10 @@
5350
5350
  }
5351
5351
 
5352
5352
  xhr.onload = function() {
5353
- var responseHeaders = xhr.getAllResponseHeaders();
5354
- var setCookie = xhr.getResponseHeader('set-cookie');
5355
- if (setCookie) {
5356
- responseHeaders = responseHeaders.replace(setCookie, setCookie.replace(/\r?\n/g, ', '));
5357
- }
5358
5353
  var options = {
5359
5354
  status: xhr.status,
5360
5355
  statusText: xhr.statusText,
5361
- headers: parseHeaders(responseHeaders || '')
5356
+ headers: parseHeaders(xhr.getAllResponseHeaders() || '')
5362
5357
  };
5363
5358
  options.url = 'responseURL' in xhr ? xhr.responseURL : options.headers.get('X-Request-URL');
5364
5359
  var body = 'response' in xhr ? xhr.response : xhr.responseText;