Perform mobile redirect only for GET and HEAD requests

Bug: 72186
Change-Id: If355e73b47d7ecf4faa7533ce05095e833d3195e