Skip to content

Instantly share code, notes, and snippets.

@spmallette
Created February 7, 2014 13:20
Show Gist options
  • Save spmallette/8862517 to your computer and use it in GitHub Desktop.
Save spmallette/8862517 to your computer and use it in GitHub Desktop.
liberator context
{:request
{:ssl-client-cert nil,
:remote-addr "127.0.0.1",
:scheme
:http,
:query-params {},
:cemerick.friend/auth-config {:default-landing-uri "/",
:login-uri "/login",
:credential-fn #<core$partial$fn__4190 clojure.core$partial$fn__4190@18712bc9>,
:workflows [...]},
:form-params {},
:request-method
:post,
:query-string nil,
:route-params {:accountId "12345"},
:content-type "application/json",
:uri "/accounts/12345/pets",
:server-name "localhost",
:params {:accountId "12345"},
:headers {"user-agent" "curl/7.32.0", "content-type" "application/json", "content-length" "47", "accept" "*/*", "host" "localhost:3000"},
:content-length 47,
:server-port 3000,
:character-encoding nil,
:body #<HttpInput org.eclipse.jetty.server.HttpInput@451d8fd9>},
:resource {...},
:representation {}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment