Rewrite request based on accept header version