spaceone / httoop

HTTOOP - a fully object oriented HTTP protocol library written in python
MIT License
18 stars 5 forks source link
http http-client http-proxy http-server http-status-code hypertext-transfer-protocol protocol python rest rest-api restful rfc uri web webserver webservice website websocket wsgi www

Build Status codecov Code Climate MIT License

httoop

An object oriented HTTP/1.1 library. (HTTP/2 will probably follow in the future).

Httoop can be used to parse, compose and work with HTTP-Request- and Response-Messages.

It is an generic library for implementing HTTP servers, clients, caches and proxies.

Httoop provides an powerful interface using the vocabularity used in RFC 7230 - 7235 and focuses on implementing HTTP "compliant" as defined in RFC 7230 Section 2.5.

"An implementation is not compliant if it fails to satisfy one or more of the MUST or REQUIRED level requirements for the protocols it implements." RFC 2616 Section 1.2

On top of the object oriented abstraction of HTTP httoop provides an easy way to support WSGI.

HTTP and extensions are defined in the following RFC's:

Extended information about hypermedia, WWW and how HTTP is meant to be used:

OAuth 2.0: