urlping Missing UserAgent

Dec 12, 2011 at 11:27 PM

Due to the multiple platforms today, cell phones tablets and the like it is sometimes important to tell the web site what your device type is and or the capabilities you are trying to test. To do this you you need to supply the site with your UserAgent string as part of the header. I noted there was no way to set the UserAgent for the check URLPing. I also noted that it was not being set with any value.

I update the code locally to have a default value as well as a way to set the value to what ever you may want. Simple really. I have been using it for a few sites  I need to monitor. Works like a charm.

I was going to post it as a patch but there is no option for that. Let me know how you would like the code submitted.

Dec 13, 2011 at 8:34 AM

Hi - If you can open an issue in the "Issue Tracker" and attach a zip with the changed files that would be great - I'll roll it into the source.

Thanks for taking the time to submit the fix back into the codebase - much appreciated!