Rewrite plugin understanding #6460
-
Hi Team, In the documentation you state that:
You also state that I am currently solving a specific problem. For example, on Ubuntu 22.04.3 LTS, curl returns me a response, but Alpine or Debian does not. Is that what you are describing? Is there a document or maybe an RFC that specifies this? In the documentation and your examples you work with the variant that you have each section that you replace with regular expressions. But what about the request when I want to overwrite the answer from a static record to the original one, which contains a variable part in (.*)? The example probably describes it best: I am only modifying the example you gave for better illustration.
For the second line in the In short, simply so that the answer again contains what I am asking. Perhaps this can be achieved in other ways. But unfortunately I don't know how. I would be very grateful for an explanation or advice. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You cant back reference the original name match in the answer rewrite. Try for example:
|
Beta Was this translation helpful? Give feedback.
You cant back reference the original name match in the answer rewrite.
Try
answer auto
to see if that works.for example: