How about if I want the response to be text only? Will leaving out the HTML version force the TXT version to be displayed?
I ask because I'm looking to modify your CheckUrl "blockpage" so I can hit it via a bash script. I'd like to run a bunch of known-malicious domain names through the script and (I think) getting a TXT response will be easier/more efficient to parse than HTML. Maybe not, but I figured I'd run the TXT issue to ground before starting the HTML.
The goal is to augment the MWG list of blocked domains with a paid list of known-malicious domains/IPs. So they'll get pulled down, checked against the modified CheckURL, and only items that MWG doesn't know about will get included in a rule as a subscribed list (thus reducing duplication - if MWG already knows something is bad then don't spend CPU cycles rechecking it.)
If/when I get this working I'll post my code (so long as that's kosher with everyone.)