Skip to content

2.0.0 Beta 3

Pre-release
Pre-release
Compare
Choose a tag to compare
@trowski trowski released this 09 Apr 14:05
· 22 commits to 2.x since this release
v2.0.0-beta.3
90b524d

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.