>> 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
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)
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.
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
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
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