Code

Shaun Wills for patch to check_http