Even when responding to a socket program from behind an HTTP server you need
to have the two new lines(I just learned that yesterday:-)

Aaron Bartell

-----Original Message-----
From: Brad Stone [mailto:brad@bvstools.com]
Sent: Wednesday, April 10, 2002 11:03 AM
To: web400@midrange.com
Subject: Re: [WEB400] HTTP 500 Error

> C                   Eval      WrtDta = %trim(HTTPHeader)
> +
> C                                      NewLine

Always two new line characters after the header.

This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/web400
or email: WEB400-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.

This thread ...

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

This mailing list archive is Copyright 1997-2020 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].