if (req.method == "OPTIONS") {
  set req.method = "GET";
  set req.http.X-OPTIONS = "1";
}