Forum Discussion
Robert_47833
Altostratus
May 27, 2015[HTTP::payload] in event HTTP_REQUEST_DATA only respresent data collected or the whole http payload?
hi,dear irule
1:HTTP::collect $content_length collects up to 1MB of data,how to call this data?
2:[HTTP::payload] in event HTTP_REQUEST_DATA only respresent 1MB data or the whole http payload?
...
nitass_89166
Noctilucent
May 31, 20152:[HTTP:
ayload] in event HTTP_REQUEST_DATA only respresent 1MB data or the whole http payload?
it will return whole payload. if you want only 1mb, you have to include 1048576 e.g. HTTP:
ayload 1048576
- Robert_47833Jun 01, 2015
Altostratus
even I collect up to 1M data? set content_length 1048576 HTTP::collect $content_length - nitass_89166Jun 01, 2015
Noctilucent
yes - Robert_47833Jul 14, 2015
Altostratus
HTTP:
ayload &182;
Returns the content that the HTTP::collect command has collected thus far, up to the number of bytes specified. If you do not specify a size, the system returns the entire collected content.
becasue I only collected 1M, does it mean it will only respent 1M data?
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