Forum Discussion
Tim_W_72292
Nimbostratus
Nov 19, 2007Adding to header and PDU content
Hi,
I am trying to add some content to a HTTP header and pdu content. I just need to add the bit in bold as shown in the example below:
POST /mms-rs/mm7 HTTP/1.1
Host: mms.om...
hoolio
Cirrostratus
Nov 19, 2007Hi Tim,
Inserting the header should just be a matter of using 'HTTP::header insert start {}' (Click here).
Are you wanting to insert the Content-ID in a header or the HTTP data? If it's the header, you can use the HTTP::header insert command again. If the latter, you would need to collect the payload and then use HTTP::payload replace. Deb posted a codeshare example for inserting content in the response. You could adapt this for the request.
InsertContentIntoServerResponse (Click here).
Aaron
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
