Skip to content

Commit

Permalink
whitespace and changelog updates
Browse files Browse the repository at this point in the history
  • Loading branch information
dakrone committed May 2, 2013
1 parent 7f7d2aa commit c05a2ea
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions changelog.org
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,11 @@
* Work log
Log of merges/issues/work that's gone in so I know what to put in
the changelog for the next release
** 2013-05-02
- merged https://github.com/dakrone/clj-http/pull/138 to preserve
http method for 307 redirect
** 2013-05-01
- bumped http* deps to 4.2.5
** 2013-04-25
- fixed cookie compact-map not to remove falsey values, only nil
ones
Expand Down
3 changes: 2 additions & 1 deletion test/clj_http/test/client.clj
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,8 @@
[status expected-method] [[301 :get] [302 :get] [307 method]]]
(let [client (fn [{:keys [trace-redirects body] :as req}]
(if trace-redirects
{:status 200 :body body :trace-redirects trace-redirects :req req}
{:status 200 :body body :trace-redirects trace-redirects
:req req}
{:status status :body body :req req
:headers {"location" "http://foo.com/bat"}}))
r-client (client/wrap-redirects client)
Expand Down

0 comments on commit c05a2ea

Please sign in to comment.