Re: perl recaptcha?

From: Nathan Vack <njvack_at_nyob>
Date: Fri, 4 Jul 2008 21:23:58 -0400
To: CODE4LIB_at_LISTSERV.ND.EDU
On Thu, Jul 3, 2008 at 3:22 PM, Thomas Dowling <tdowling_at_ohiolink.edu> wrote:

> Now if I could just return an HTTP status that meant "Go #%@! yourself".

That's more or less what 403 means[1]. In fact, returning:

<html><head><title>Go #%@! yourself</title></head><body><p>And your
spamming friends, too.</p></body></html>

with a 403 status code would, I think, be the RFC-compliant way to
tell the spammer to stick it where the sun don't shine ;-)

The bots might get the message better from a 404, though. I mean,
insofar as bots pay any attention whatsoever to the response your
server sends back to them... :P

-n

[1] "403 Forbidden: The server understood the request, but is refusing
to fulfill it. Authorization will not help and the request SHOULD NOT
be repeated." - RFC 2616
Received on Fri Jul 04 2008 - 19:57:41 EDT