lua-users home
lua-l archive

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


On Sat, Nov 26, 2011 at 06:29, Diego Nehab <diego@tecgraf.puc-rio.br> wrote:
> Hmmm, the alternative would be to return an error and abort the request, right?

Right.

> What else is there to do? Would that be preferrable? Maybe.

I believe so.

> It never occurred to me that somebody would send an http.request on
> something that was not an http URL.

Intentionally — no. Non-intentionally — all kinds of mistakes happen.

Current behaviour masks them (especially bad in http vs. https case
when something is listening on both urls on server — this is what
bitten me and lead to the original post).

Thanks,
Alexander.