technomancy / clojure-http-client

An HTTP client for Clojure (DEPRECATED)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issue with keywords in URL query parameters

MonadicT opened this issue · comments

I have URLs with ":name=value" in them and use clojure.http.client to retrieve them. It looks like url-encode uses "as-str" function whose semantics are to drop colon. I am curious to know if this behavior was intended. In any case, I think being able to use parameter names with leading/embedded ':' is legitimate and this gratuitous behavior of "as-str" forces me to duplicate url-encode.

Closing out all clojure-http-client issues in hopes that folks will switch to clj-http.