The Wayback Machine - http://web.archive.org/web/20200530182821/https://github.com/topics/ring
Skip to content
#

ring

Here are 203 public repositories matching this topic...

jacobemcken
jacobemcken commented Jan 2, 2020

I don't use Compojure on a regular basis (sometimes with years in between), so I always hit the wiki to find out how it is used. The basics are really intuitive and easy to get up and running. But I always struggle to figure out how the more complex stuff works. Specifically I have two reoccurring issues that I get stuck with every time, where I have to turn to web searches (usually ending up on S

laliluna
laliluna commented Nov 11, 2017

I struggled to setup ring for development and production, as there are so many options.

I tried to compile what I found into two pages https://github.com/laliluna/ring/wiki/Setup-for-development and https://github.com/laliluna/ring/wiki/Setup-for-production

In addition I structured the Home page to make it a bit easier to read.
https://github.com/laliluna/ring/wiki

The examples are more

csdream
csdream commented Feb 7, 2019

I am using CIDER 0.20.0, cider-nrepl 0.20.0, and nREPL 0.5.3 in my project. Also, I have used :ring :nrepl :start? true option to create a nrepl session when running lein ring server command. However, when I tried to connect to nREPL session via cider-connect, there were bunch of exceptions and I couldn't connect to nREPL session at all. It turned out that add-optional-nrepl-dep functio

TimoFreiberg
TimoFreiberg commented Mar 6, 2019

ring-defaults' wrap-defaults adds the ring.middleware.content-type/wrap-content-type middleware by default (see https://github.com/ring-clojure/ring-defaults/blob/master/src/ring/middleware/defaults.clj#L27 and further occurences of :content-types)
Muuntaja's muuntaja.middleware/wrap-format will silently not do anything when ring's content-type middleware is also present.

Is it possibl

casphas
casphas commented Dec 17, 2015

If a regex uses capturing groups, path parameters following the pattern get assigned values from the captured group, not the value from the path.

;; Clout version 2.1.2
(clout/route-matches (clout/route-compile "/:foo/:bar" {:foo #"a(bcd|ef)g"})
(mock/request :get "/abcdg/1"))
=> {:bar "bcd", :foo "abcdg"}

expected:
=> {:bar "1", :foo "abcdg"}

Improve this page

Add a description, image, and links to the ring topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the ring topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.