Forum Discussion
Brian_69413
May 02, 2012Nimbostratus
HTTP::repond 404 returns blank page
When I use the line HTTP::respond 404 within the HTTP_REQUEST event, the user receives a blank page instead of a 404. Does anyone have an idea on this? I am running 10.2.1 HF2
when HTTP_REQUEST {
HTTP::respond 404
}
- Joel_MosesNimbostratusHTTP::respond doesn't send any particular content unless you tell it to do so.
when HTTP_REQUEST { HTTP::respond 404 content "404 File Not Found" Mime-Type "text/html" }
- Brian_69413NimbostratusI see, thanks!
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects