Update CoordinatorRuleManager for http-client 1.0.4

This commit is contained in:
Charles Allen 2015-10-27 14:08:45 -07:00
parent 44a2b204df
commit 67d58f6d8d
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,7 @@ public class CoordinatorRuleManager
).get(); ).get();
if (response.getStatus().equals(HttpResponseStatus.FOUND)) { if (response.getStatus().equals(HttpResponseStatus.FOUND)) {
url = response.getResponse().getHeader("Location"); url = response.getResponse().headers().get("Location");
log.info("Redirecting rule request to [%s]", url); log.info("Redirecting rule request to [%s]", url);
response = httpClient.go( response = httpClient.go(
new Request( new Request(