dakrone/clj-http — Issue #18: 302 redirects not working?
Author: Quantisan
Created: 2011-10-28 16:20:16+00:00
State: open

```clojure
=> (client/get "http://google.com")
{:cookies {"PREF" {:domain ".google.com", ... }, :status 302, :headers {"x-xss-protection" "1; mode=block", "server" "gws", "x-frame-options" "SAMEORIGIN", "content-type" "text/html; charset=UTF-8", "date" "Fri, 28 Oct 2011 16:05:00 GMT", "cache-control" "private", "location" "http://www.google.co.uk/", "content-length" "221", "connection" "close"}, :body "

\n

302 Moved

\n

302 Moved

\nThe document has moved\nhere.\r\n

\r\n"}

=> (client/get "http://www.nytimes.com:80/2011/10/29/business/the-spotlight-now-shines-on-italy-common-sense.html")
{:cookies {"NYT-S" {:domain ".nytimes.com", :expires #, :path "/", :value "0Mzh9PJwQ663rDXrmvxADeHCyZ5RAjhv6MdeFz9JchiAIUFL2BEX5FWcV.Ynx4rkFI", :version 0}}, :status 302, :headers {"date" "Fri, 28 Oct 2011 16:18:10 GMT", "server" "Apache/2.2.3 (CentOS)", "location" "http://www.nytimes.com:80/2011/10/29/business/the-spotlight-now-shines-on-italy-common-sense.html?_r=1", "content-length" "0", "connection" "close", "content-type" "text/html; charset=UTF-8"}, :body ""}
```