Re: [ANN] Ring: A Web application library for Clojure.

2009-01-12 Thread Mark McGranaghan
>> What's does the req object that is passed into the function have in it? The contents of the incoming Ring request (and outgoing Ring response) are described in the SPEC document. I should make this a little clearer in the docs. Good for you for checking the source though! > Which by the way i

Re: [ANN] Ring: A Web application library for Clojure.

2009-01-12 Thread Paul Barry
To answer my own question: [#^HttpServletRequest request] {:server-port (.getServerPort request) :server-name (.getServerName request) :remote-addr (.getRemoteAddr request) :uri (.getRequestURI request) :query-string (.getQueryString request) :scheme (keyword (.getScheme request)

Re: [ANN] Ring: A Web application library for Clojure.

2009-01-12 Thread Paul Barry
What's does the req object that is passed into the function have in it? On Mon, Jan 12, 2009 at 11:45 PM, Mark McGranaghan wrote: > > Hi All, > > I'm happy to announce the alpha release of 'Ring', a library inspired > by Python's WSGI and Ruby's Rack for developing web applications in > Clojure.

Re: [ANN] Ring: A Web application library for Clojure.

2009-01-12 Thread Dan Larkin
I'm incredibly impressed! Have only looked at the code briefly but I read the whole post and I'm really excited for where this is going. On Jan 12, 2009, at 11:45 PM, Mark McGranaghan wrote: > > Hi All, > > I'm happy to announce the alpha release of 'Ring', a library inspired > by Python's W

Re: [ANN] Ring: A Web application library for Clojure.

2009-01-12 Thread Matt Revelle
Mark, This looks great! Thanks for writing and sharing. -Matt On Jan 12, 2009, at 11:45 PM, Mark McGranaghan wrote: > > Hi All, > > I'm happy to announce the alpha release of 'Ring', a library inspired > by Python's WSGI and Ruby's Rack for developing web applications in > Clojure. > > I've m

[ANN] Ring: A Web application library for Clojure.

2009-01-12 Thread Mark McGranaghan
Hi All, I'm happy to announce the alpha release of 'Ring', a library inspired by Python's WSGI and Ruby's Rack for developing web applications in Clojure. I've made it as easy as humanly possible for you to try it out: git clone git://github.com/mmcgrana/ring.git cd ring java -Djava