The goal of this library is to have one location for any library, package or project to base their general HTTP types on for better interoperability.
- HTTP versions (e.g.
HTTP/1.1
) - HTTP methods (e.g.
GET
) - HTTP headers (e.g.
Content-Type
) - HTTP statusses (e.g.
404
)
This library also contains some utility functions, e.g. related to URI handling, that are not necessarily restricted in use to HTTP, but the scope is restricted to things that are useful inside HTTP, i.e. no FTP URI parsing.