Quick CGI question: doing nothing?
Dave Cragg
dave.cragg at lacscentre.co.uk
Tue Mar 27 11:43:47 EDT 2007
On 27 Mar 2007, at 15:00, David Bovill wrote:
> NB - is there a rhyme and a reason to when to use CR and when CRLF
> - it
> seems pretty well interchangeable on a Linux server, are there any
> "buts"?
> Sam goes with using "write buffer to stdout" or just "put buffer" -
> any
> actual differences?
The http spec calls for crlf, but it seems Apache is very nice and
changes from cr to crlf when sending the response to the client. I
don't think all servers do this.
If in doubt, I'd suggest using crlf.
Cheers
Dave
More information about the use-livecode
mailing list