fixed encoding issue
This commit is contained in:
parent
567de507f5
commit
287a170402
@ -21,7 +21,6 @@
|
|||||||
query {:pagenumber page}]
|
query {:pagenumber page}]
|
||||||
{:href base-url :params query})))
|
{:href base-url :params query})))
|
||||||
|
|
||||||
|
|
||||||
(defn login-response [username password session]
|
(defn login-response [username password session]
|
||||||
(with-open [client (http/create-client)]
|
(with-open [client (http/create-client)]
|
||||||
(let [login-url (str url "account.php")
|
(let [login-url (str url "account.php")
|
||||||
@ -55,4 +54,6 @@
|
|||||||
headers (http/headers resp)]
|
headers (http/headers resp)]
|
||||||
(-> resp
|
(-> resp
|
||||||
http/await
|
http/await
|
||||||
http/string))))
|
http/body
|
||||||
|
.toByteArray
|
||||||
|
(String. "windows-1252")))))
|
||||||
|
Loading…
Reference in New Issue
Block a user