Skip to content

Add :context-handler option#3

Open
ninjudd wants to merge 1 commit into
weavejester:masterfrom
ninjudd:master
Open

Add :context-handler option#3
ninjudd wants to merge 1 commit into
weavejester:masterfrom
ninjudd:master

Conversation

@ninjudd

@ninjudd ninjudd commented Oct 24, 2012

Copy link
Copy Markdown

This option wraps the handler with ring.middleware.context so that it
behaves like it is inside a ServletContext. This means it splits :uri
and fills in the :context and :path-info fields in request. This option
can be used so that 'lein ring server' behaves like a container.

This pull request is dependent on ring-clojure/ring#27.

This option wraps the handler with ring.middleware.context so that it
behaves like it is inside a ServletContext. This means it splits :uri
and fills in the :context and :path-info fields in request. This option
can be used so that 'lein ring server' behaves like a container.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant