Skip to content
This repository has been archived by the owner on Apr 24, 2020. It is now read-only.

Commit

Permalink
Merge 778be62 into f9108ab
Browse files Browse the repository at this point in the history
  • Loading branch information
amihaiemil committed Sep 25, 2017
2 parents f9108ab + 778be62 commit ddcee31
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
import javax.ws.rs.core.HttpHeaders;
import com.jcabi.http.Request;
import com.jcabi.http.request.ApacheRequest;
import com.jcabi.http.wire.TrustedWire;

/**
* Authorized request sent by this checker.
Expand All @@ -53,7 +54,7 @@ public abstract class AuthorizedRequest {
* @param originalEndpoint Original url for this request.
*/
public AuthorizedRequest(Authorization atz, String originalEndpoint) {
this.req = new ApacheRequest(originalEndpoint);
this.req = new ApacheRequest(originalEndpoint).through(TrustedWire.class);
this.atz = atz;
}

Expand Down

0 comments on commit ddcee31

Please sign in to comment.