Forum Discussion
Health Check is returning HTTP code 302
- Apr 15, 2025
So, internally, together with the DEV and IT teams, we decided to exclude the page used in the health check from the authentication (code change).
This way it will stop to be necessary to have the cookies SessionId and AuthToken, thus the GET will return HTTP status code 200.
Thank you for all your help.
So, internally, together with the DEV and IT teams, we decided to exclude the page used in the health check from the authentication (code change).
This way it will stop to be necessary to have the cookies SessionId and AuthToken, thus the GET will return HTTP status code 200.
Thank you for all your help.
- Injeyan_KostasApr 15, 2025
Nacreous
Can I ask you why you didn't just accepted 302 as valid response to consider that health check successful?
It's not mandatory to have 200 response.
In same cases even a 401 would be consider as valid response.
- lcravoptApr 16, 2025
Altostratus
The reason had to do with the fact that a 200 response is the more "normal" status code and everybody were more confortable with having that response code.
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com