Skip to content

Commit

Permalink
fixes #26 add one statement in test for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
stevehu committed Feb 18, 2017
1 parent 8aa2fdf commit 791b5e6
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ public void testOptionsCorrectOrigin() throws Exception {
CloseableHttpResponse response = client.execute(httpOptions);
int statusCode = response.getStatusLine().getStatusCode();
String body = IOUtils.toString(response.getEntity().getContent(), "utf8");
Header[] headers = response.getAllHeaders();
Header header = response.getFirstHeader("Access-Control-Allow-Origin");
Assert.assertEquals(200, statusCode);
if(statusCode == 200) {
Expand Down

0 comments on commit 791b5e6

Please sign in to comment.