UNPKG

346 BJavaScriptView Raw
1export const USER_AGENT = "user-agent";
2export const X_AMZ_USER_AGENT = "x-amz-user-agent";
3export const SPACE = " ";
4export const UA_NAME_SEPARATOR = "/";
5export const UA_NAME_ESCAPE_REGEX = /[^\!\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w]/g;
6export const UA_VALUE_ESCAPE_REGEX = /[^\!\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w\#]/g;
7export const UA_ESCAPE_CHAR = "-";