Rodney Myers wrote:
: My script creates an email using sendmail.
: The script is not called directly from the browser but from another server
: as as the indirect result of a submit to that server.
: 
: So there is no need to write anything to the browser, nor to redirect the
: browser. But I seem to a get a server 500 error unless I do one of those
: things.

Instead of the Location header, try sending this back to the browser:

print "Status: 204 No Content\n\n";

HTTP code 204 is supposed to instruct the browser that the response
contains no content (or if there is any, ignore it).

-- tdk

Reply via email to