Reply To: HttpRewriteWrappedResponse cannot handle Transformer

Splash Forums Rewrite Users HttpRewriteWrappedResponse cannot handle Transformer Reply To: HttpRewriteWrappedResponse cannot handle Transformer

#26698

Hi! Thank you for your suggestion. Would you mind sending a pull request for that? https://github.com/ocpsoft/rewrite/blob/master/impl-servlet/src/main/java/org/ocpsoft/rewrite/servlet/impl/HttpRewriteWrappedResponse.java

Also, have you tried adding the transformer before performing the proxy operation?

   .addRule().when(Direction.isInbound().and(Path.matches("/module/dmi/")))
   .perform(Transform.with(new HrefTransformer()).and(Proxy.to("http://www.dmi.com:80/")))

I believe this might resolve the error entirely.