HttpStatus() Doesn't Support <GlobalSettings>

@nielsbosma and @diskborste,

Can you update the HttpStatus() function to support <GlobalSettings>? Ideally, it would be great if you could also add a parameter for HttpSettings().

I have to use a whitelisted User-Agent when making HTTP requests on our company website, but HttpStatus() isn't honoring any of my Global Settings; specifically <RequestHeaders><Header Name="User-Agent">.

Without this support, HttpStatus() falsely returns '200 OK' for redirected pages and a '#VALUE!' error for broken pages, when testing pages of our website while running outside of our VPN. It works correctly while running inside of our VPN.

Thank you!

-WolfeDen

Yes, I'll try to add the HttpSettings as an optional argument. Currently it only supports an the Http method (get|post etc). Great suggestion!