Tplink EAP110 Captive Portal
Hi,
While enabling the captive portal in TPlink EAP110. TPlink use 200 response code with redirect url in the body when a internet connectivity is checked. Typically http 302 is used to redirect such request with a redirect URL.. Is there any specific reason for using 200 instead of 302?
-Prasanna
- Copy Link
- Subscribe
- Bookmark
- Report Inappropriate Content
Hi @prasannapm
Thanks for bringing this issue to our attention.
As I have checked, we have a script in HTTP code 200. If you can successfully reach the web page, HTTP code 200 success, then the script will be executed. You will be redirected to the portal page. This output is the same as HTTP code 30x.
There is no difference to the browser or the final result.
- Copy Link
- Report Inappropriate Content
wdym?
200 response code meaning port = 200?
or you mean RFC? Section 10 of RFC 2616
if you refer this to RFC, then what's wrong? an industrial standard is applied here. then what's wrong? you can refer to the RFC as it clearly defines each code.
- Copy Link
- Report Inappropriate Content
@Tedd404 200 is http response code. Typical captive portal use 30X as http response code with the redirect url. 200 is typical when it sends the response for the request. But in captive portal case wifi router is supposed to redirect the request to Wi-Fi router captive portal landing page.
- Copy Link
- Report Inappropriate Content
wifi router?
if you use the controller, omada portal is based on the omada controller. not on the router. the request is sent to the omada controller.
what kind of issues do you run into?
- Copy Link
- Report Inappropriate Content
@Tedd404 I mean the tplink eap110. Setup is simple in my case. Device <->tplink eap110 <->LAN switch. The issue I am facing is, my custom software running in my device detects captive portal enabled or not, based on the http response code(200/204 no captive portal, 30x - captive portal). However if I connect device to another access point which has captive portal they use 30x for redirection and not 200. So far I tried few access points most of them use 30x and not 200
- Copy Link
- Report Inappropriate Content
Hi @prasannapm
Thanks for bringing this issue to our attention.
As I have checked, we have a script in HTTP code 200. If you can successfully reach the web page, HTTP code 200 success, then the script will be executed. You will be redirected to the portal page. This output is the same as HTTP code 30x.
There is no difference to the browser or the final result.
- Copy Link
- Report Inappropriate Content
Information
Helpful: 0
Views: 713
Replies: 5
Voters 0
No one has voted for it yet.