Fixes #5061: create generic method to check http status
Merge pull request #64 from ncharles/ust_5060/dev/5060_get_http_status

Fixes #5061: create generic method to check http status