Context variables are not returning a value for a custom context type
book
Article ID: 201152
calendar_today
Updated On:
Products
CA API Gateway
Issue/Introduction
Several of context variables are not returning a value if a custom context type is being used:
${request.mainpart}
${request.parts[0]}
${request.parts.0.body}
${request.parts.0.mainpart}
${request.parts[1]}
${request.parts.1.body}
${request.parts.1.mainpart}
Resolution
Add the cluster wide property contentType.otherTextualTypes with the value of custom context type being used.
You may need to do this
- Set the cluster wide property contentType.otherTextualTypes = application/http
- Add the setting in /opt/SecureSpan/Gateway/node/default/etc/conf/system.properties:
- com.l7tech.common.mime.allowLaxInitialBareCrOrLf=true
- Restart Gateway.
Feedback
thumb_up
Yes
thumb_down
No