Forum Discussion
João_Assad_4295
Nimbostratus
Nov 14, 2005redirect POSTs bigger than 1MB
Hello,
I'd like to redirect POSTs bigger than 1MB to an error page, so I tried this:
when HTTP_REQUEST {
set method [HTTP::method]
set clen [HTTP::header Content-Length]
if { $metho...
João_Assad_4295
Nimbostratus
Nov 15, 2005adding a "reject" after the HTTP::respond gives the same "Document contains no data"
what Im trying to accomplish here is craft a rule that limits the image size that users can upload using a form. the rule must prevent the user from sending the data entirely, thats why I want it to interrupt the POST, I dont want to waste any bandwidth.
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