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

Re: [Captive-portals] practicality of 511 HTTP status code



On Tue, Jun 27, 2017 at 8:55 AM, Julian Reschke <[email protected]> wrote:
On 2017-06-27 16:56, Dave Dolson wrote:
Mark, thanks for the info about 511.

But to the working group, I think this discussion about HTTP status codes is a distraction.

I think the ICMP approach is a superior solution that doesn't require modification of transport-layer data.

Redirection of clear-text HTTP is an existing practice. It will continue for some time;

Yes.

but there is no need to tweak it, since tweaks would not be recognized by existing software anyhow...

Existing software == browsers? They should be totally OK with 511. Do you have evidence to the contrary?

...



It would be interesting to have a review of browsers and how they handle 511. Most browsers are probably "OK" with 511, but how about the venue? That would depend on if the user experience is broken, or not as desirable. A venue/operator could just use _javascript_ to redirect (if the sandboxed browser environment allows it) as suggested, but assuming the browser didn't otherwise 'break' the UX, how is that different from a 30X redirect? Sure, some headless Apps making API calls might be 'broken' with unexpected results, but do we care? Those developers should use TLS, not follow redirects, and write robust software with exception handling..