Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

HTTPTargetConnection - why proxy.pathsuffix gets appended to URL

Not applicable

I have created multiple target-end points based on my back-end servers. Each target end point has a fixed URL.

URL is configured as -

<HTTPTargetConnection> <URL>https://example.com/test/</URL> </HTTPTargetConnection>

I have noticed that "proxy.pathsuffix" is automatically getting added to url (

https://example.com/test/). How can I avoid this?

Regards,

Kamesh

Solved Solved
3 16 10.5K
2 ACCEPTED SOLUTIONS

Not applicable

In order to do this you need to use JavaScript and set a variable. The code would be:

context.setVariable("target.copy.pathsuffix", false);

View solution in original post

Not applicable

Similar to the javascript above, we are doing this via an AssignMessage policy in the target endpoint request flows:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<AssignMessage name="AssignMessage.DisablePathCopy">
    <AssignVariable>
        <Name>target.copy.pathsuffix</Name>
        <Value>false</Value>
    </AssignVariable>
</AssignMessage>

View solution in original post

16 REPLIES 16
Top Solution Authors