MCPcopy
hub / github.com/axios/axios / sanitizeByteStringHeaderValue

Function sanitizeByteStringHeaderValue

lib/helpers/sanitizeHeaderValue.js:49–50  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

47 sanitizeValue(value, INVALID_UNICODE_HEADER_VALUE_CHARS);
48
49export const sanitizeByteStringHeaderValue = (value) =>
50 sanitizeValue(value, INVALID_BYTE_STRING_HEADER_VALUE_CHARS);
51
52export function toByteStringHeaderObject(headers) {
53 const byteStringHeaders = Object.create(null);

Callers 1

toByteStringHeaderObjectFunction · 0.85

Calls 1

sanitizeValueFunction · 0.85

Tested by

no test coverage detected