[gopher] Line terminators in Gopher transactions

Kim Holviala kim at holviala.com
Wed May 23 04:37:08 UTC 2012


On May 23, 2012, at 5:13 , Nick Matavka wrote:

> If I am sending a text file through Gopher, is it the job of the
> server to ensure that the file uses CRLF?  Or is it the job of the
> client to properly interpret whatever line ending the server chooses
> to use?

"Be strict in what you send, but generous in what you receive"

In other words, server admins should do their best to always send CRLF, but clients should accept other line endings too. And the other way around - clients should end their requests with CRLF, but servers should accept shorter versions as well.



- Kim


More information about the Gopher-Project mailing list