Skip to content

Commit

Permalink
Fix: Status code description not showing
Browse files Browse the repository at this point in the history
  • Loading branch information
amgedr committed Dec 19, 2017
1 parent 601fd2b commit c71ceab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webchk/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def _http_request(loc, get_request=False):

result = Result(loc.geturl())
result.status = resp.status
result.dec = resp.reason
result.desc = resp.reason
result.fill_headers(resp.getheaders())

# status code is not 204 (no content) and not a redirect
Expand Down

0 comments on commit c71ceab

Please sign in to comment.