No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Net/Http
.gitignore
GenMimeType.py
LICENSE
README.md

README.md

OC.Net-Go

ClientIP

Returns the client ip address, taking HTTP headers information into account. It is aware of True-Client-IP and CF-Connecting-IP (both from CloudFlare).

MimeType

Provides a mapping for know filename extension to mime type (e.g. .html -> text/html) based on the built in mime.TypeByExtension AND http://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types

Part of the source code is generated by GenMimeType.py

AcceptLanguage

Use to parse browser Accept-Language headers like fr-CH, fr;q=0.9, en;q=0.8, de;q=0.7, *;q=0.5

Please see e.g. MDN (Mozilla Developer Network) for general information on Accept-Language.

License

Release under the MIT License. (see LICENSE)