# README
Sphire Mantis::HTTP
The HTTP package of Mantis provides helper functions for working with URLs, HTTP Requests, etc.
# Functions
GetBody returns the body from the http request.
GetHTTPResponseCode returns the description of a numeric HTTP code.
GetQueryParameter fetches a URL query parameter based on a key and return a string array.
GetQueryParameters returns all query parameters.
ParseBodyIntoStruct takes the body from an HTTP request and parses it into a JSON friendly struct.
ParseURL returns a *http.URL from a given URL string.
StatusText returns a text for the HTTP status code.
# Constants
RFC 7231, 6.3.3.
RFC 5842, 7.1.
Cloudflare.
AWS Elastic Load Balancer.
AWS Elastic Load Balancer.
AWS Elastic Load Balancer.
RFC 7231, 6.6.3.
RFC 7231, 6.5.1.
Apache Web Server / cPanel.
Microsoft.
Caching.
Caching.
Caching.
Caching.
Caching.
Caching.
Caching.
Nginx.
RFC 7231, 6.5.8.
Cloudflare.
RFC 7231, 6.2.1.
RFC 7231, 6.3.2.
RFC 8297.
RFC 7231, 6.5.14.
RFC 4918, 11.4.
RFC 7231, 6.5.3.
RFC 7231, 6.4.3.
RFC 7231, 6.6.5.
RFC 7231, 6.5.9.
Nginx.
RFC 7231, 6.6.6.
RFC 3229, 10.4.1.
RFC 4918, 11.5.
RFC 7231, 6.6.1.
Cloudflare.
ArcGIS.
RFC 7231, 6.5.10.
RFC 4918, 11.3.
IIS.
RFC 5842, 7.2.
Spring Framework.
RFC 7231, 6.5.5.
RFC 7540, 9.1.2.
RFC 7231, 6.4.2.
RFC 7231, 6.4.1.
RFC 4918, 11.1.
RFC 6585, 6.
Proxies.
Proxies.
RFC 7231, 6.3.5.
RFC 7231, 6.3.4.
Nginx.
RFC 7231, 6.5.6.
RFC 2774, 7.
RFC 7231, 6.5.4.
RFC 7231, 6.6.2.
RFC 7232, 4.1.
RFC 7231, 6.3.1.
Cloudflare.
Laravel Framework.
RFC 7233, 4.1.
RFC 7231, 6.5.2.
RFC 7538, 3.
RFC 7232, 4.2.
RFC 6585, 3.
RFC 2518, 10.1.
RFC 7235, 3.2.
Cloudflare.
IIS.
RFC 7233, 4.4.
RFC 7231, 6.5.11.
RFC 6585, 5.
Nginx.
RFC 7231, 6.5.7.
RFC 7231, 6.5.12.
RFC 7231, 6.3.6.
IIS.
RFC 7231, 6.4.4.
RFC 7231, 6.6.4.
Pantheon.
Qualys SSLLabs.
Nginx.
Cloudflare.
RFC 7231, 6.2.2.
RFC 7231, 6.4.6 (Unused).
RFC 7168, 2.3.3.
RFC 7231, 6.4.7.
ArcGIS.
RFC 8470, 5.2.
RFC 6585, 4.
RFC 7235, 3.1.
RFC 7725, 3.
RFC 4918, 11.2.
RFC 7231, 6.5.13.
RFC 7231, 6.5.15.
RFC 7231, 6.4.5.
RFC 2295, 8.1.
Cloudflare.
Cloudflare.
# Structs
Request holds our http client and corresponding request data.
Response holds our response object, as well as a pointer to the original request.
ResponseCodes holds our response codes and their description.
ResponseJSONError is our response JSON error struct.
ResponseJSONOk is our response JSON struct.
No description provided by the author