Ingress with Response Content Manipulation

In our Kubernetes Cluster, We have a requirement to do a string replace in our Response body. Is there such a thing in Istio for response content modification. I could only find header manipulation.

The respone contains html content with hrefs as: <>"/static/myimages/logo.png"<> We would like to modify this response to prefix it with <>"/myapp/static/myimages/logo.png"<>

Does anyone have a recommendation for a gateway that can do this content rewrite. Do you have samples to share?

apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
  name: resource-manager
spec:
  hosts:
  - "*"
  gateways:
  - myapp-gateway
  http:
  - match:
    - uri:
       prefix: /myapp/
      rewrite:
       uri: "/"
    route:
     - destination:
        host: myapp.voting.svc.cluster.local
        port:
          number: 9099
       headers:
        response:
         add:
          foo: bar