Skip to content

Commit

Permalink
Merge pull request #73 from rohitsw/master
Browse files Browse the repository at this point in the history
fixes #72
  • Loading branch information
hildrum committed Sep 29, 2014
2 parents ad2e52b + af9e1ce commit e98a4f3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public void init() {
public void sign(HTTPRequest req) throws Exception {
BASE64Encoder encoder = new BASE64Encoder();
String up_encoded = encoder.encode(useridpassword.getBytes());
req.setHeader("Authorization", "Basic " + up_encoded);
req.getReq().setHeader("Authorization", "Basic " + up_encoded);
}
}

Expand Down

0 comments on commit e98a4f3

Please sign in to comment.