JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 210683
  • Score
    100M100P100Q186897F
  • License MIT

Package Exports

  • @apimatic/http-headers
  • @apimatic/http-headers/es/index.js
  • @apimatic/http-headers/lib/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@apimatic/http-headers) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

APIMatic HTTP Headers Library for JavaScript SDKs

This package provides utilities for managing HTTP headers with case-insensitive handling and validation.

The exported functionality includes:

  • Case-Insensitive Header Management: Set, replace, and retrieve headers without case sensitivity.
  • Conditional Header Addition: Adds headers only if they are not already set.
  • Header Name Lookup: Identifies the actual header name in a map regardless of casing differences.
  • Headers Merging: Merges multiple header maps, preserving original casing while updating values as needed.
  • Headers Validation: Validates header names to ensure compliance with HTTP standards.

This library is used by JavaScript SDKs generated by the APIMatic Code Generator. For details on supported platforms and build artifacts, see the Build and Usage Section.