fix request methods test
Merge pull request #10013 from vipulnsward/fix_request_method_test

fix request methods test