Forum Discussion
Waloo5
Nimbostratus
Apr 18, 2025Change Content-Type from application/octet-stream to multipart/form-data
Hi all, If some one has experiance an integration of ASM and ICAP server : Our HTTP POST requests are using Content-Type: application/octet-stream, and for the ASM Antivirus ICAP functionality the ...
Waloo5
Nimbostratus
Apr 21, 2025Hello zamroni777 ,
Thank you for your feedback.
To clarify, our application does include an HTML form submission with files upload functionality, where the developer has set the Content-Type to application/octet-stream. However, F5 ASM does not allow this integration in its current form expects multipart/form-data.
Since modifying the application is not an option, I would like to explore whether an iRule can be implemented on the F5 to:
- Intercept the request.
- Modify the Content-Type header from application/octet-stream to multipart/form-data.
- Ensure the file payload remains intact during the transformation.
Could some one confirm if this is feasible via an iRule or another F5 configuration?
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
