1Y0-240 · Question #247
How can a Citrix Administrator configure a rewrite policy to change the version of HTTP from HTTP 1.1 to HTTP 1.0 in every request?
The correct answer is D. add rewrite action RW_ACT replace http.req.version "\"HTTP/1.0\"" add rewrite policy. https://support.citrix.com/article/CTX121948
Question
How can a Citrix Administrator configure a rewrite policy to change the version of HTTP from HTTP 1.1 to HTTP 1.0 in every request?
Options
- Aadd rewrite action RW_ACT replace http.res.version ""HTTP/1.1"" add rewrite policy
- Badd rewrite action RW_ACT replace http.req.version ""HTTP/1.1"" add rewrite policy
- Cadd rewrite action RW_ACT replace http.res.version ""HTTP/1.0"" add rewrite policy
- Dadd rewrite action RW_ACT replace http.req.version ""HTTP/1.0"" add rewrite policy
How the community answered
(42 responses)- A5% (2)
- B2% (1)
- C10% (4)
- D83% (35)
Explanation
Topics
Community Discussion
3D is the one you want. The stem says "every request," so you need http.req.version, not http.res.version, and you replace it with HTTP/1.0 since that is the target version, which rules out A, B, and C on two separate grounds each.
D is right, though the truncated options hide the full policy bind syntax.
Mnemonic: req changes the request, and the replacement value must be 1.0. Saw this exact wording on my CCP-V sitting two years ago, spent thirty seconds second-guessing res versus req, then remembered we are rewriting what goes out from the client side, not the response coming back, so D locked in clean.