fixed rewrite 2xx and 3xx response href