{"id":21389990,"url":"https://github.com/edd/http-verb-test","last_synced_at":"2025-03-16T13:15:15.167Z","repository":{"id":145579438,"uuid":"1789117","full_name":"edd/HTTP-Verb-test","owner":"edd","description":"Sinatra/jQuery test for HTTP verb support across browsers","archived":false,"fork":false,"pushed_at":"2011-05-23T17:21:56.000Z","size":1104,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-07T21:12:01.818Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/edd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-05-23T17:19:39.000Z","updated_at":"2019-09-21T10:01:28.000Z","dependencies_parsed_at":"2023-03-22T23:16:00.538Z","dependency_job_id":null,"html_url":"https://github.com/edd/HTTP-Verb-test","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edd%2FHTTP-Verb-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edd%2FHTTP-Verb-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edd%2FHTTP-Verb-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edd%2FHTTP-Verb-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/edd","download_url":"https://codeload.github.com/edd/HTTP-Verb-test/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243871912,"owners_count":20361380,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-22T13:14:58.190Z","updated_at":"2025-03-16T13:15:15.141Z","avatar_url":"https://github.com/edd.png","language":"Ruby","readme":"#Description\n\nThe [jQuery documentation for the jQuery.ajax function](http://api.jquery.com/jQuery.ajax/) contains the following caveat for the **type** property:\n\n\u003e **Note**: Other HTTP request methods, such as PUT and DELETE, can also be used here, but they are not supported by all browsers. \n\nMany StackOverflow answers reference this, without detailing which browsers this affects. So I made this simple test to run on Browsercam to try it out on as many browsers as possible.\n\n\n##In depth description\n\nThis test uses Sinatra to create a server accepting GET, POST, PUT and DELETE requests. It also serves a static HTML file that uses jQuery to attempt to create AJAX requests for each of those queries. If the request arrives using the correct HTTP verb, the entry is highlighted green. Otherwise, it's highlighted red. It's about 10 lines of Ruby and 20 lines of Javascript.\n\n#Result\n## Pass\nThe following browsers are actively supported by jQuery and pass the test:\n\n* Firefox [3.6](https://github.com/eddhannay/HTTP-Verb-test/blob/master/result/25333621.jpg), [4](https://github.com/eddhannay/HTTP-Verb-test/blob/master/result/25333631.jpg)\n* Safari [3](https://github.com/eddhannay/HTTP-Verb-test/blob/master/result/25333617.jpg), [4](https://github.com/eddhannay/HTTP-Verb-test/blob/master/result/25333618.jpg), [5](https://github.com/eddhannay/HTTP-Verb-test/blob/master/result/25333623.jpg)\n* Internet Explorer [6](https://github.com/eddhannay/HTTP-Verb-test/blob/master/result/25333627.jpg), [7](https://github.com/eddhannay/HTTP-Verb-test/blob/master/result/25333629.jpg), [8](https://github.com/eddhannay/HTTP-Verb-test/blob/master/result/25333636.jpg), [9](https://github.com/eddhannay/HTTP-Verb-test/blob/master/result/25333637.jpg)\n* Opera [9.6](https://github.com/eddhannay/HTTP-Verb-test/blob/master/result/25333619.jpg), [10](https://github.com/eddhannay/HTTP-Verb-test/blob/master/result/25333624.jpg), [10.5](https://github.com/eddhannay/HTTP-Verb-test/blob/master/result/25333634.jpg)\n* Chrome [8](https://github.com/eddhannay/HTTP-Verb-test/blob/master/result/25333638.jpg), [9](https://github.com/eddhannay/HTTP-Verb-test/blob/master/result/25333639.jpg)\n\n## Fail\nThe following browsers are actively supported by jQuery, but fail the test:\n\n* Firefox [2](https://github.com/eddhannay/HTTP-Verb-test/blob/master/result/25333616.jpg)\n\n## Fail (not actively supported by jQuery)\nThe following browsers are not actively supported by jQuery, and fail:\n\n* Firefox [1.5](https://github.com/eddhannay/HTTP-Verb-test/blob/master/result/25333611.jpg) (Runs the test, fails)\n* Internet Explorer [5.2](https://github.com/eddhannay/HTTP-Verb-test/blob/master/result/25333615.jpg), [5](https://github.com/eddhannay/HTTP-Verb-test/blob/master/result/25333625.jpg) \u0026 [5.5](https://github.com/eddhannay/HTTP-Verb-test/blob/master/result/25333626.jpg) (Test does not run)\n* Safari [1.3](25333614.jpg) (Test does not run)\n\n# Running the test\nRequirement: [Sinatra](https://github.com/sinatra/sinatra/)\n\n    ruby -rubygems index.rb\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedd%2Fhttp-verb-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedd%2Fhttp-verb-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedd%2Fhttp-verb-test/lists"}