CrabScout. The best software around.
Search

Content-Type header parser

Parse the media type and attributes carried in HTTP Content-Type values.

jshttp · Web and apps

GitHub projectOpen source Open on GitHub

How to try it

In a Node.js project, install [email protected]. Read a fictional plain-text header and inspect its character set.

What we tested

3.1.1. Read a fictional plain-text header and inspect its character set. Read the exact media type and UTF-8 character set from the sample.

Reviews

Rate this repo

More to explore

  • cattrsConvert Python records to and from simple dictionary data.GitHub projectOpen source
  • h2 for PythonBuild and parse HTTP/2 messages from Python.GitHub projectOpen source
  • Go QuerystringBuild URL query parameters from fields of a Go structure.GitHub projectOpen source

Share

What the labels mean

Save to your library