|
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
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/web400.
As an Amazon Associate we earn from qualifying purchases.
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.