Forum Discussion
Mark_28706
Nimbostratus
Sep 27, 2007File size limitation
Can anybody help out with the below request !!!!
I am looking to setup an irule that will check the size of a document posted via a website and limit this to a specific size eg 10mb, if a request is over this size I am then looking to redirect the user to another web page.
Can any Irule experts assist with this request ?????
- Andy_Herrman_22
Nimbostratus
Is it possible for uploads to not contain a content length header value, or is that just for server responses? (I know server responses aren't required to have that in the header, not sure about requests). - Mark_28706
Nimbostratus
Thanks Colin perfect, many thanks fro your help - hoolio
Cirrostratus
aherrman, it is possible that clients could send a chunk encoded request without a Content-Length header. Clients can send a request with Transfer-Encoding: chunked, without specifying the content length. I'm not sure how you could enforce a limit without parsing the full request data. Nor am I sure how you could parse the full request data with iRules.
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