Skip to content

Commit

Permalink
Merge pull request #140 from willblackie/wb_replaceUriFix
Browse files Browse the repository at this point in the history
HttpRequest.replaceUri now includes the entity when building the new instance
  • Loading branch information
Allen Wang committed Jul 18, 2014
2 parents b35e376 + 28ecd73 commit bd695f3
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,8 @@ public HttpRequest replaceUri(URI newURI) {
.queryParams(this.queryParams)
.setRetriable(this.isRetriable())
.loadBalancerKey(this.getLoadBalancerKey())
.verb(this.getVerb()).build();
.verb(this.getVerb())
.entity(this.entity)
.build();
}
}

0 comments on commit bd695f3

Please sign in to comment.