Are you using HTTP/1.1 in your calling script? If so, use HTTP/1.0

-genius_at_work