FAQ

Search Discussions

110 discussions - 444 posts

  • Hi, I'm using e.g.this: (let [response (app (request :post "/user-register" {:par1 "val" :par2 "val"}))] ) This works, but now I have a service that is provided by external library and requires the ...
    Ivan SchuetzIvan Schuetz
    May 11, 2014 at 11:50 am
    May 11, 2014 at 11:57 am
  • I just dropped noir for plain ring + compojure + liberator. Now my views all run fine when invoked individually. However, when multiple liberator resources are requested at the same time, only one ...
    Brian CraftBrian Craft
    Apr 30, 2014 at 1:34 am
    Apr 30, 2014 at 11:00 pm
  • I had a working setup for Heroku before, and for some reason that remains a mystery to me, when I try to deploy tonight, I keep getting the message: Exception in thread "main" ...
    Mark EngelbergMark Engelberg
    Apr 29, 2014 at 8:10 am
    Apr 29, 2014 at 10:30 am
  • I'm having trouble using a custom :store with multipart-params. I thought I did exactly what the documentation indicates, but I'm getting the default behavior ...
    K LivingstonK Livingston
    Apr 1, 2014 at 6:14 pm
    Apr 1, 2014 at 6:14 pm
  • I can't configure "Content-Type" as "application/rss+xml", it is always returned as "text/plain", but "application/xml" works fine. Test code snippet: (GET "/rss" [] (response/content-type ...
    Vladislav BauerVladislav Bauer
    Mar 25, 2014 at 9:46 am
    Mar 25, 2014 at 12:19 pm
  • I need to get at the original order of the params to create a correct answer to paypal ipn messages. I'm routing with compojure and wrap my routes in wrap-multipart-params, but now I need to get at ...
    Mathias PickerMathias Picker
    Mar 4, 2014 at 2:36 pm
    Mar 4, 2014 at 5:58 pm
  • I've got a handler set up with wrap-file and wrap-content type. Unfortunately, while it seems to give the right MIME type for everything else, why I browse to "/" instead of "/index.html", it gives ...
    Kevin CantuKevin Cantu
    Feb 17, 2014 at 10:17 am
    Feb 17, 2014 at 10:19 am
  • Is there any advantage to using trampoline with the "lein ring server" command, i.e., "lein trampoline ring server"? -- You received this message because you are subscribed to the Google Groups ...
    Mark EngelbergMark Engelberg
    Feb 7, 2014 at 6:31 pm
    Feb 8, 2014 at 1:10 am
  • Hi everyone, I'm having a problem with a web app that doesn't seem to be directly related to ring, but I thought this might be the best place to ask. I have a middleware called side-effect-handler ...
    Tom ConnorsTom Connors
    Dec 18, 2013 at 8:41 pm
    Dec 18, 2013 at 8:44 pm
  • I've just discovered that url-encode passes the '+' character unencoded. This caused me problems when using url-encode for generating Amazon AWS signatures. Here's what ring does: (defn url-encode ...
    Jan RychterJan Rychter
    Dec 18, 2013 at 10:57 am
    Dec 18, 2013 at 4:01 pm
  • Hi, (using ring 1.2.1) I have a question about multipart-params and how it handles content with nested params. I'm trying to send a nested map with an array as part of a multipart request. The ...
    Mike RobertsMike Roberts
    Dec 11, 2013 at 8:18 pm
    Dec 12, 2013 at 3:34 pm
  • I want to serve a potentially big CSV file as it's being generated. Is this possible to do with Ring? (I guess so, as Ring supports streaming according to ...
    Xavi CaballéXavi Caballé
    Dec 7, 2013 at 9:07 pm
    Dec 8, 2013 at 12:11 am
  • Hi Is it possible to use Vaadin with lein-ring? The few experiments I have done in Clojure web development have just involved writing a handler (via Compojure) and have that run through lein-ring ...
    Patrick KristiansenPatrick Kristiansen
    Nov 19, 2013 at 9:58 pm
    Nov 19, 2013 at 10:01 pm
  • Hi folks, For the next version of the Ring SPEC, myself and Mark have been considering deprecating the following request map keys: :content-type :content-length :character-encoding The information in ...
    James ReevesJames Reeves
    Nov 15, 2013 at 7:31 pm
    Nov 15, 2013 at 8:26 pm
  • Hi, I can't see an easy way of configuring multiple handlers. I'm trying to configure logback-access (can't see anything on the web around this in ring/clojure). From the Java side, Jetty recommend ...
    Jon PitherJon Pither
    Oct 22, 2013 at 12:42 am
    Jan 23, 2014 at 1:01 pm
  • Ring's file-response doesn't seem to work inside an uberjar (returning Not Found). (ring.util.response/file-response "index.html" {:root "resources/public"}) I also tried using the clojure's resource ...
    Wei HsuWei Hsu
    Sep 18, 2013 at 4:49 pm
    Sep 18, 2013 at 5:09 pm
  • Hello! Short description of the topic: I'm building some debug/visualization infrastructure for my next project. I want to play with graphs and observe and analyze what happens when certain ...
    RrsRrs
    Sep 13, 2013 at 10:57 pm
    Sep 13, 2013 at 10:57 pm
  • Hi, I'd like to access request headers as they truly appear in the request - I need to pass them on to another service as they were. This means I must *avoid joining* header values that were not ...
    Joe LittlejohnJoe Littlejohn
    Sep 10, 2013 at 1:41 pm
    Sep 11, 2013 at 9:19 am
  • How do I then Friend to accept a current session as being valid and logged in for a given user? I am not sure if this is a Friend question or a Ring question. Assume I have 2 Clojure apps: 1.) ...
    Larry google groupsLarry google groups
    Sep 9, 2013 at 7:08 pm
    Sep 9, 2013 at 7:08 pm
  • I just released ring-zombie to Clojars (https://clojars.org/ring-zombie). It is (nearly) a drop-in replacement for ring.mock.request that allows you to test ring apps in live or dead (mock) ...
    Wes MorganWes Morgan
    Aug 22, 2013 at 5:10 pm
    Sep 7, 2013 at 3:38 pm
  • I recently upgraded to ring 1.2, and lein-ring now will not reload sources changed on disk. This used to work relatively flawlessly, but not since I upgraded ring. Is this a known issue, or just me? ...
    Jason BennettJason Bennett
    Jul 23, 2013 at 11:25 pm
    Jul 25, 2013 at 12:50 am
  • I'm sorry but I only glanced through this old thread. Did anything come of it? And what of clojure 1.5's new core.async module? (Also, is it called a 'module'?). Thanks, Greg -- Please do not email ...
    GregGreg
    Jul 22, 2013 at 5:32 pm
    Jul 23, 2013 at 12:40 am
  • Two questions actually: 1) Can someone please explain what this middleware for? I assume that 'flash' here does not refer to any use of Adobe Flash, correct? Why would someone use it instead of the ...
    GregGreg
    Jul 22, 2013 at 1:15 am
    Jul 22, 2013 at 3:52 pm
  • I am using ring.middleware.session.cookie and I am finding in my webapp that it will randomly loose the session. I can just randomly hit reload and eventually the session will be lost. I use the ...
    JasonJason
    Jul 8, 2013 at 6:30 pm
    Jul 9, 2013 at 5:19 pm
  • Greetings, I saw that this topic was discussed and tracked to root causes last December but the issue seems to remain: when using Ring 1.2.0-RC1 (or older) together with Clojure 1.5, the following ...
    Vilho RäisänenVilho Räisänen
    Jul 3, 2013 at 9:31 am
    Jul 4, 2013 at 11:37 am
  • Hi, I released a middleware to facilitate webjars <http://www.webjars.org/ integration with ring. Essentially it allows to serve assets from jar dependencies, abstracts client from asset versions and ...
    Julien EluardJulien Eluard
    May 20, 2013 at 11:06 am
    May 20, 2013 at 11:06 am
  • I have an app, where the ring handler needs to make an asynchronous call to an outside system. So ... *i)* my web client would make a call. *ii)* A ring handler would be invoked and the outside ...
    Timothy WashingtonTimothy Washington
    May 10, 2013 at 4:31 pm
    May 11, 2013 at 2:47 am
  • Hello I have a question. Why exception display only once and disappear when I refresh a browser? Thanks! -- You received this message because you are subscribed to the Google Groups "Ring" group. To ...
    Edward TsechEdward Tsech
    May 8, 2013 at 9:59 am
    May 14, 2013 at 11:46 am
  • I can successfully upload files around 80mb, but when I've tried a file that is over 2GB I get this stack trace: java.lang.NullPointerException at ...
    Marshall BrekkaMarshall Brekka
    May 2, 2013 at 8:53 am
    May 2, 2013 at 9:07 am
  • I'm trying to create a library to help with XSS (escaping input) in ring based projects. I've looked at some solutions so far and I haven't seen anything where you set it and forget it, or don't have ...
    Code dreamerCode dreamer
    Apr 24, 2013 at 9:02 pm
    Apr 25, 2013 at 3:58 pm
  • We already have an existing application with EJBs, a WAR and an EAR. I've already written a proof of concept of this new feature in javaee code. The proof of concept is a new WAR that runs inside the ...
    tieTYTtieTYT
    Apr 18, 2013 at 8:12 pm
    Apr 18, 2013 at 10:47 pm
  • Ring middleware for defining and applying rewrite/redirect rules. In many cases you can get away with ring-rewrite instead of writing Apache mod_rewrite rules. Based on rack-rewrite, but with a ...
    Erik BakstadErik Bakstad
    Apr 6, 2013 at 9:10 pm
    Apr 6, 2013 at 9:10 pm
  • Dear all, I've added a static resource from webjars to my project.clj: [org.webjars/bootstrap "2.3.1"] which also pulls in [org.webjars/jquery "1.9.0"]. To make these available I have added this to ...
    Michiel BorkentMichiel Borkent
    Apr 6, 2013 at 12:50 pm
    Apr 6, 2013 at 2:19 pm
  • I have very little experience with Java, the JVM, or the Java libraries that Clojure often relies on. I am curious what other people are doing to deploy their web apps? Is it common to use Jetty/Ring ...
    Larry google groupsLarry google groups
    Mar 29, 2013 at 12:43 am
    Mar 29, 2013 at 9:23 am
  • I am still learning my way here. I have a simple Ring/Jetty app, I put it on one server and start it, then I ssh to another server and hit it with Apache Benchmark. It seems to be if the concurrency ...
    Larry google groupsLarry google groups
    Mar 25, 2013 at 7:58 pm
    Mar 28, 2013 at 2:54 pm
  • *Hi, I've recently published a simple open source micro-framework which allows server-side Clojure code to update web page content or invoke any JavaScript operations dynamically through XHR requests ...
    Tomasz LipskiTomasz Lipski
    Mar 11, 2013 at 8:56 pm
    Mar 13, 2013 at 9:32 am
  • I am trying to figure out what work is handled by Ring and what work is left to the webserver (in my case, Jetty). I look here: http://mmcgrana.github.com/ring/ring.util.response.html#var-response ...
    Larry google groupsLarry google groups
    Feb 19, 2013 at 7:16 pm
    Feb 19, 2013 at 11:43 pm
  • I'm writing a Ring middleware, and also using Compojure. I want my middleware to look in the :params map to see if a specific key was provided by the user. In my middleware function, the request map ...
    Ryan ColeRyan Cole
    Feb 19, 2013 at 7:45 am
    Feb 19, 2013 at 7:52 am
  • Hello everyone! I've just released ring-ratelimit 0.2.0. https://github.com/myfreeweb/ring-ratelimit This is a powerful rate limiting middleware. By "powerful" I mean it allows you to compose limits ...
    Greg VGreg V
    Feb 15, 2013 at 1:46 pm
    Feb 15, 2013 at 1:46 pm
  • Hi, This post was accidentally posted on the Clojure group, even though the intension was on this group. If you receive both of them, sorry for the noise. I am trying to draft a protocol for realtime ...
    Feng ShenFeng Shen
    Feb 15, 2013 at 9:55 am
    Feb 19, 2013 at 7:45 am
  • Hi, After extensive test, known bugs fixed, documentation ready, http-kit reaches 2.0.0.RC2 [http-kit "2.0.0-RC2"] ; Add to your project.clj Documentation: http://http-kit.org Github ...
    Shen, FengShen, Feng
    Feb 3, 2013 at 3:20 am
    Feb 3, 2013 at 3:20 am
  • Hi all, I've been trying to use ring.middleware.etags from Clojars<https://clojars.org/ring.middleware.etag with Compojure to add an ETag header to HTTP responses. The middleware function I want to ...
    ChetanChetan
    Jan 31, 2013 at 2:35 pm
    Jan 31, 2013 at 2:35 pm
  • Hello, My understanding (possibly wrong) is that Ring will decode headers, url, and posts as UTF-8, however I cannot find anywhere if this is NFC UTF-8 or any other forced canonicalization? For ...
    Kevinlivingston PublicKevinlivingston Public
    Jan 30, 2013 at 9:48 pm
    Jan 31, 2013 at 1:13 am
  • I was thinking about adding a 'remember me' button to Friend, but it is not that much related to that library. To change the session cookie expiry date I need to pass a special parameter to the ...
    Zbigniew ŁukasiakZbigniew Łukasiak
    Jan 30, 2013 at 11:41 am
    Feb 2, 2013 at 3:28 pm
  • Hi, I have started working on a library to add http security header information to the HTTP headers. I am trying to achieve something similar to https://github.com/twitter/secureheaders. The current ...
    Dhruv ChandnaDhruv Chandna
    Jan 26, 2013 at 12:27 pm
    Jan 29, 2013 at 4:21 pm
  • Hi, I am happy to announce the release of `ring-jdbc-session` 0.1.0, which is an implementation of Ring's SessionStore. It also supports cleanup of stale session entries and is described in the ...
    Shantanu KumarShantanu Kumar
    Jan 26, 2013 at 7:56 am
    Jan 26, 2013 at 7:56 am
  • What is the difference between: (def app (wrap-session handler)) and (defn app-bad [request] ((wrap-session handler) request)) ? I was thinking that the second exactly the same function - but ...
    Zbigniew ŁukasiakZbigniew Łukasiak
    Jan 26, 2013 at 7:51 am
    Jan 26, 2013 at 1:05 pm
  • I have to admit that I've started learning clojure this Friday - so this might be some stupid mistake, but it is driving me crazy. Here is my application: (ns login-app.ex) (use ...
    Zbigniew ŁukasiakZbigniew Łukasiak
    Jan 20, 2013 at 10:48 am
    Jan 20, 2013 at 11:32 am
  • Hi, I'm using the lein ring plugin <https://github.com/weavejester/lein-ring . I I was under the impression that "lein ring server" would launch a development web server and reload resources and ...
    Ari KingAri King
    Jan 17, 2013 at 9:19 am
    Jan 25, 2013 at 2:48 pm
  • I wish to serve a PDF (or any other binary file) in a ring response. This works (defn serve-file [request] {:status 200 :headers {"Content-Type" "application/pdf"} :body (FileInputStream ...
    Matthew MolloyMatthew Molloy
    Jan 13, 2013 at 10:55 am
    Jan 13, 2013 at 10:59 am
Group Navigation
period‹ prev | Latest | first ›
Group Overview
groupring-clojure @
categoriesclojure
discussions110
posts444
users117
websiteclojure.org
irc#clojure

Top users

James Reeves: 68 posts James Reeves: 68 posts Feng Shen: 19 posts Zbigniew Łukasiak: 11 posts Larry google groups: 9 posts Chas Emerick: 9 posts Brian Craft: 9 posts Daidong: 8 posts Jan Rychter: 8 posts Shantanu Kumar: 7 posts Nelson Morris: 7 posts Xavi Caballé: 6 posts Code dreamer: 6 posts Kyle R. Burton: 6 posts Robert Marianski: 6 posts Greg: 5 posts Mark Engelberg: 5 posts Tero Lemmetyinen: 5 posts Timothy Washington: 5 posts Tom Denley: 5 posts
show more