OK. I wrote my program using JSONWEBSRV from your tutorial as the model.  Is that the program that writes headers, then a blank line, then the data?


On 9/28/2018 2:57 PM, Scott Klement wrote:
A2: When you write programs like this (called via the CGI interface from Apache) you must write headers, then an empty line, then the data.  This error means that it never found the blank line that ends the headers.  Most common reasons are (a) its not getting written at all, (b) you've forgotten to include the headers (c) you've forgotten to include the blank line that tells it about the end of the headers or (d) you're writing in the wrong character set so it doesn't understand it.

-SK


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.