2.0.0 Beta 3
Pre-release
Pre-release
Removed parseFieldValueComponents()
and createFieldValueComponentMap()
, replacing them with three new functions:
splitHeaders()
— Splits comma-separated fields into individual components. Returns null if a syntax error is encountered.parseMultipleHeaderFields()
— Parses a list of key-value pairs from each comma-separated and semi-colon delineated header value. Returns null if a syntax error is encountered.parseSingleHeaderFields()
— Parses a single semi-colon delineated header into key-value pairs.