You can have a CGI script return status code 204, do nothing.
If you're using CGI.pm, the syntax is something like:
print $query->header(-status=>'204 No response');
I have done this from javascript to post things to the server without expecting a return.
Tiago