lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Fri, 07 Nov 2008 09:38:49 -0800
Jim Mellander <jmellander@lbl.gov> wrote:

> This looks like a case where the Robustness Principle could be
> invoked: "Be conservative in what you do; be liberal in what you
> accept from others." - in this case I would suggest that since
> upper-case is more likely to be acceptable to broken clients, sending
> uppercase would follow the first clause.
you are right. but ftp-client actually don't care about case at all, it
parses numeric response codes. %-) it's the server who violates this
rule (and RFC too), not LuaSocket. and client just can't know that
server is badly broken in such interesting way. %-)