Skip to content

jinrenlab/coreq

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

coreq

Join the chat at https://gitter.im/mitghi/coreq

Very small HTTP client written in Cython. Both HTTP and HTTPS are supported. Currently it uses Epoll. Redirection, chunked parsing and caching are not implemented in this version.

Examples

coreq.coro takes a dictionary and items must have the following format:

website : ( ip/website , port , page )

with coreq.coro({'www.python.org':('www.python.org',443,"") , 'www.reddit.com':('198.41.208.138', 443, 'r/marketing') }) as e:
  	print e.keys()
  	print e.get("www.python.org").header
  	print e.get("www.python.org").result

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.3%
  • Makefile 0.7%