make sure only GET requests are prerendered
added passing the headers through with the request