Hi all,
I'm using ATS as reverse proxy cache.
It works for HTTP GET request with parameter in URL.
My question is: can we add to the request key also some headers?

This is the example: I have following request
URI: 
http://myhost:myport/cxf/stubs/ats/username?name=Peter<http://10.1.65.73:18009/cxf/expo20/jaws/stubs/ats/username?name=Peter>
Headers:

  *   Surname: Green
  *   Timestamp: 1234567890
  *   Content-type: application/json



  *   Response:
{
    "output": "hello Peter Green"
}

Now, ATS works until when the URI is always the same. If I change in the header 
Surname=Black, it goes to retrieve data from cache but in this case is should 
be forwarded to backend because the surname is different.

What I want to do it to accept as key of request (to verify if it exists or 
not) also an header whitelist in order to say ok you have to retrieve from 
cache not just if the URI is the same but if uri + surname header value are the 
same.
How I can include some headers to identify if the request (as a key) is an 
entry of my cache?
Thanks
Regards












________________________________

This message is for the designated recipient only and may contain privileged, 
proprietary, or otherwise confidential information. If you have received it in 
error, please notify the sender immediately and delete the original. Any other 
use of the e-mail by you is prohibited. Where allowed by local law, electronic 
communications with Accenture and its affiliates, including e-mail and instant 
messaging (including content), may be scanned by our systems for the purposes 
of information security and assessment of internal compliance with Accenture 
policy. Your privacy is important to us. Accenture uses your personal data only 
in compliance with data protection laws. For further information on how 
Accenture processes your personal data, please see our privacy statement at 
https://www.accenture.com/us-en/privacy-policy.
______________________________________________________________________________________

www.accenture.com

Reply via email to