Source: tapes/hybris/0987fa63c64a41e98b95b12d3263414f.js

var path = require("path");

/**
 * GET /rest/v2/apparel-uk/users/current?fields=FULL
 *
 * host: hybris.merlinspotions.com
 * accept-encoding: gzip, deflate
 * user-agent: node-superagent/3.5.2
 * content-type: application/json
 * accept: application/json
 * connection: close
 */

module.exports = function (req, res) {
  res.statusCode = 401;

  res.setHeader("cache-control", "no-store");
  res.setHeader("content-type", "application/json");
  res.setHeader("date", "Thu, 19 Jul 2018 23:29:28 GMT");
  res.setHeader("pragma", "no-cache");
  res.setHeader("server", "Apache-Coyote/1.1");
  res.setHeader("strict-transport-security", "max-age=16070400 ; includeSubDomains");
  res.setHeader("www-authenticate", "Bearer realm=\"hybris\", error=\"unauthorized\", error_description=\"Full authentication is required to access this resource\"");
  res.setHeader("x-content-type-options", "nosniff");
  res.setHeader("x-frame-options", "SAMEORIGIN");
  res.setHeader("x-xss-protection", "1; mode=block");
  res.setHeader("content-length", "140");
  res.setHeader("connection", "Close");

  res.setHeader("x-yakbak-tape", path.basename(__filename, ".js"));

  res.write(new Buffer("ewogICAiZXJyb3JzIiA6IFsgewogICAgICAibWVzc2FnZSIgOiAiRnVsbCBhdXRoZW50aWNhdGlvbiBpcyByZXF1aXJlZCB0byBhY2Nlc3MgdGhpcyByZXNvdXJjZSIsCiAgICAgICJ0eXBlIiA6ICJVbmF1dGhvcml6ZWRFcnJvciIKICAgfSBdCn0=", "base64"));
  res.end();

  return __filename;
};