Low level functionality that uses Martian and Httpkit to send HTTP requests.
Low level functionality that uses Martian and Httpkit to send HTTP requests.
When invoking get-namespace
, it returns Content-Type: application/json
but the body
is actually plain text. This interceptor overwrites the response content type to fix this.
When invoking `get-namespace`, it returns `Content-Type: application/json` but the body is actually plain text. This interceptor overwrites the response content type to fix this.
(make-context conf)
Creates Martian context for the given configuration. This context should be passed to subsequent requests.
Creates Martian context for the given configuration. This context should be passed to subsequent requests.
Overrides request options for get-object
calls.
Overrides request options for `get-object` calls.
Body coercion drops metadata map for some reason (maybe because it's a string/string map?), so we re-add it here. This is really hacky but I'm really tired of trying to figure out Martian's weirdnesses...
Body coercion drops metadata map for some reason (maybe because it's a string/string map?), so we re-add it here. This is really hacky but I'm really tired of trying to figure out Martian's weirdnesses...
cljdoc builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |