Releases: mswjs/headers-polyfill
Releases · mswjs/headers-polyfill
v3.0.1
v3.0.0
BREAKING CHANGES
- The
.getAllHeaders()
method has been renamed to.all()
(#12).
Features
- Adds a new
Headers.raw()
method to return an object with raw header name/value pairs (#12). - Keeps the map of the raw headers internally to retrieve them as raw.
Bug fixes
- Fixes an issue when looking up a header by name resulted in
null
being returned if there were more than 1 header (#10)
Internal
- Reduces the amount of header name normalization happening when working with
.append()
and.delete()
methods.