[spam-stopper] Comment-check returns nothing...

Phil Haack haacked at gmail.com
Sat Sep 23 23:38:03 UTC 2006


Thanks for the response!  I tried using two different clients.  I wrote a
quick .NET app to send the POST request.  I then sniffed the HTTP traffic
using Fiddler (http://www.fiddlertool.com/fiddler/).

Fiddler also allows me to re-play a specific request, changing any
parameters I need to.  Below I am posting the EXACT request and response
that I get from Akismet.  I am including my API key here as I can always
generate a new one and it will make it easier for you to recreate.

Notice the first test fails to return anything in the BODY of the response.
When I change the author to "viagra-test-123" and resend the request without
changing anything else, I get something in the body of the response.

Any ideas?


REQUEST:
-----------------------
POST /1.1/comment-check HTTP/1.1
User-Agent: Subtext/1.0.0.0 | Akismet/1.11
Content-Type: application/x-www-form-urlencoded; charset=utf-8
Host: acbdcd3a3a4b.rest.akismet.com
Content-Length: 246

blog=http%3a%2f%2fhaacked.com%2f&user_ip=24.126.150.127&user_agent=Mozilla%2
f5.0+(Windows%3b+U%3b+Windows+NT+5.1%3b+en-US%3b+rv%3a1.8.0.7)+Gecko%2f20060
909+Firefox%2f1.5.0.7&comment_type=comment&comment_author=Phil&comment_conte
nt=This+is+a+test.

RESPONSE:
-----------------------
HTTP/1.1 200 OK
Content-Type: text/plain; charset=utf-8
Content-Length: 0
Server: LiteSpeed
Date: Sat, 23 Sep 2006 23:31:54 GMT
Connection: close


Now if I simply change the author to Viagra-test-123, I get something in the
body of the response.

REQUEST:
--------------------
POST /1.1/comment-check HTTP/1.1
User-Agent: Subtext/1.0.0.0 | Akismet/1.11
Content-Type: application/x-www-form-urlencoded; charset=utf-8
Host: acbdcd3a3a4b.rest.akismet.com
Content-Length: 257
Proxy-Connection: Keep-Alive

blog=http%3a%2f%2fhaacked.com%2f&user_ip=24.126.150.127&user_agent=Mozilla%2
f5.0+(Windows%3b+U%3b+Windows+NT+5.1%3b+en-US%3b+rv%3a1.8.0.7)+Gecko%2f20060
909+Firefox%2f1.5.0.7&comment_type=comment&comment_author=viagra-test-123&co
mment_content=This+is+a+test.

RESPONSE:
--------------------
HTTP/1.1 200 OK
Content-Type: text/plain; charset=utf-8
Content-Length: 4
Server: LiteSpeed
Date: Sat, 23 Sep 2006 23:33:37 GMT
Connection: close

true





-----Original Message-----
From: spam-stopper-bounces at lists.automattic.com
[mailto:spam-stopper-bounces at lists.automattic.com] On Behalf Of Matt
Mullenweg
Sent: Saturday, September 23, 2006 3:05 PM
To: spam-stopper at lists.automattic.com
Subject: Re: [spam-stopper] Comment-check returns nothing...

Phil Haack wrote:
> When calling http://api-key.rest.akismet.com/1.1/comment-check/ I am not 
> receiving any response.  I confirmed it by using Fiddler to sniff http 
> traffic.  If there was a problem, I would expect it to return at least 
> "false".

Akismet always returns something, even if there is an error on the 
backend. Unless someone else is running into this problem, I'd suspect 
it's a problem with your client somehow.

-- 
Matt Mullenweg
  http://photomatt.net | http://wordpress.org
http://automattic.com | http://akismet.com
_______________________________________________
spam-stopper mailing list
spam-stopper at lists.automattic.com
http://lists.automattic.com/mailman/listinfo/spam-stopper




More information about the spam-stopper mailing list