Skip to content

mrzor/httpbis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

httpbis

Check out httpbin.org.

Reproduce (in spirit) its features using Clojure and Ring, and you get httpbis.

Built with yada, mostly.

TODO

Here is the most important stuff available in the original:

  • The index / documentation page
  • Compression routes (gzip, brotli, deflate)
  • Basic verb routes (get post patch put delete anything)
  • Redirect routes
  • Cookie routes
  • HTTP auth routes
  • Robots routes
  • Cache / ETag routes
  • Image routes
  • Link route
  • Delay/drip routes
  • Stream/range routes

Here are some extras :

  • Spider maze (advanced link)
  • Teapot route

Prerequisites

You will need Leiningen 1.7.0 or above installed.

Running

To start a web server for the application, run:

lein ring server

License

Copyright © 2017 mrzor FIXME BSD 2 Clause LICENSE

About

A clojurian tribute to httpbin.org

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages