Look up a Rails HTTP Status Code

511 - Network Authentication Required

Rails HTTP Status code :network_authentication_required

When to use status code 511

The client needs to authenticate to gain network access. Intended for use by intercepting proxies used to control access to the network (e.g., "captive portals" used to require agreement to Terms of Service before granting full Internet access via a Wi-Fi hotspot).