Liberator - Free your Data
summary
A Clojure library that sits on Ring and encodes the full HTTP decision flow, Liberator implements method handling, content negotiation, conditional requests (Last-Modified/ETag) and many status codes so responses like 406, 404 and 304 are produced correctly. Demo shows automatic JSON/EDN/HTML/CSV representations, a request-context threaded through decision callbacks, and a debugging console that emits a trace and SVG graph. Current gaps: request-body deserialization and PATCH support; performance adds modest lookup overhead but works in practice.
AI-written summary · about
chapters (20)
- 0:00Introduction
- 0:30What is Liberator
- 0:45What is HTTP
- 1:13HTTP Methods
- 2:14Header Fields
- 2:35Status Codes
- 3:12Digital Status Codes
- 4:19HTTP Specification
- 6:39Event handlers
- 8:54Liberators Visualization
- 9:38Emacs
- 10:55Default Response
- 13:08Function
- 14:27Default Representation
- 18:57More Media Types
- 23:55Debugging Console
- 28:41Execution Models
- 35:00Integration
- 36:11Request processing
- 38:26Questions
related talks
32mFrameworkless Web Development in Clojure
18mClojure Redeployed
01h 07mComposing (Clojure) Web Stacks using Functional First Principles
33mClojure Dispatches From a National Research Lab
31mclojure.web/with-security
21mLLMs + Clojure = Who needs frameworks?
32mNo Pain, no Gain: Using Clojure for Web Applications
32mSimple AND Secure?
