[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: LuaSocket HTTP module ignores URI scheme
- From: Alexander Gladysh <agladysh@...>
- Date: Sat, 26 Nov 2011 06:52:58 +0400
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.