1 line
1.5 KiB
JSON
1 line
1.5 KiB
JSON
{"ast":null,"code":"'use strict';\n\nvar utils = require('../utils');\n\nmodule.exports = function normalizeHeaderName(headers, normalizedName) {\n utils.forEach(headers, function processHeader(value, name) {\n if (name !== normalizedName && name.toUpperCase() === normalizedName.toUpperCase()) {\n headers[normalizedName] = value;\n delete headers[name];\n }\n });\n};","map":{"version":3,"names":["utils","require","module","exports","normalizeHeaderName","headers","normalizedName","forEach","processHeader","value","name","toUpperCase"],"sources":["/Users/paolasanchez/Desktop/Pry4/Katoikia/katoikia-app/web-ui/sakai-react/node_modules/axios/lib/helpers/normalizeHeaderName.js"],"sourcesContent":["'use strict';\n\nvar utils = require('../utils');\n\nmodule.exports = function normalizeHeaderName(headers, normalizedName) {\n utils.forEach(headers, function processHeader(value, name) {\n if (name !== normalizedName && name.toUpperCase() === normalizedName.toUpperCase()) {\n headers[normalizedName] = value;\n delete headers[name];\n }\n });\n};\n"],"mappings":"AAAA;;AAEA,IAAIA,KAAK,GAAGC,OAAO,CAAC,UAAD,CAAnB;;AAEAC,MAAM,CAACC,OAAP,GAAiB,SAASC,mBAAT,CAA6BC,OAA7B,EAAsCC,cAAtC,EAAsD;EACrEN,KAAK,CAACO,OAAN,CAAcF,OAAd,EAAuB,SAASG,aAAT,CAAuBC,KAAvB,EAA8BC,IAA9B,EAAoC;IACzD,IAAIA,IAAI,KAAKJ,cAAT,IAA2BI,IAAI,CAACC,WAAL,OAAuBL,cAAc,CAACK,WAAf,EAAtD,EAAoF;MAClFN,OAAO,CAACC,cAAD,CAAP,GAA0BG,KAA1B;MACA,OAAOJ,OAAO,CAACK,IAAD,CAAd;IACD;EACF,CALD;AAMD,CAPD"},"metadata":{},"sourceType":"script"} |