All files / src/utils index.ts

100% Statements 29/29
100% Branches 0/0
100% Functions 19/19
100% Lines 20/20

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 2713x 12x 24x 17x         36x 12x 44x 38x   85x 47x 46x 12x 266x 16x 21x 16x 14x 14x   65x 35x  
export { getCacheControlHeaderWithMaxAgeIfLower } from './getCacheControlHeaderWithMaxAgeIfLower'
export {
  createErrorResponseForIngress,
  createFallbackErrorResponse,
  ErrorData,
  FPJSResponse,
  Notification,
} from './createErrorResponse'
export { fetchCacheable } from './fetchCacheable'
export {
  addTrafficMonitoringSearchParamsForVisitorIdRequest,
  addTrafficMonitoringSearchParamsForProCDN,
} from './addTrafficMonitoring'
export { returnHttpResponse } from './returnHttpResponse'
export { addProxyIntegrationHeaders, getIPFromHeaders } from './addProxyIntegrationHeaders'
export { filterCookies } from './cookie'
export {
  createRoute,
  addTrailingWildcard,
  removeTrailingSlashesAndMultiSlashes,
  replaceDot,
  addPathnameMatchBeforeRoute,
  addEndingTrailingSlashToRoute,
} from './routing'
export { getAgentScriptEndpoint, getVisitorIdEndpoint } from './proxyEndpoint'
export { createResponseWithMaxAge } from './createResponseWithMaxAge'