Skip to main content
QUICK REVIEW

[Paper Review] Support for Various HTTP Methods on the Web

Sawood Alam, Charles L. Cartledge|arXiv (Cornell University)|May 8, 2014
Service-Oriented Architecture and Web ServicesComputer Science22 references5 citations
TL;DR

This study evaluates HTTP method support across 40,870 live web URIs using OPTIONS requests and the Allow header. It finds that only 1.023% of URIs support all seven common HTTP methods (GET, POST, PUT, PATCH, DELETE, OPTIONS, HEAD), with PUT, PATCH, and DELETE supported by less than 2% of sites, indicating widespread non-compliance with RESTful principles despite their standardization.

ABSTRACT

We examine how well various HTTP methods are supported by public web services. We sample 40,870 live URIs from the DMOZ collection (a curated directory of World Wide Web URIs) and found that about 55% URIs claim support (in the Allow header) for GET and POST methods, but less than 2% of the URIs claim support for one or more of PUT, PATCH, or DELETE methods.

Motivation & Objective

  • To assess the real-world support for various HTTP methods across public web services.
  • To investigate the extent to which modern web services adhere to RESTful principles using standard HTTP methods.
  • To identify the gap between standardized HTTP method usage and actual deployment in production web services.
  • To evaluate how server software and path depth influence method support distribution.

Proposed method

  • The researchers sampled 40,870 live URIs from the DMOZ curated web directory.
  • For each URI, an OPTIONS request was sent to retrieve the 'Allow' response header, indicating supported HTTP methods.
  • The study analyzed method support across different web server software (e.g., Apache, IIS, Nginx) and path depth levels (0 to 12).
  • Support rates were calculated as percentages of URIs claiming method support in the 'Allow' header.
  • The analysis excluded verification of actual method behavior—only claimed support via the 'Allow' header was recorded.
  • Data was aggregated and normalized, with rare or unknown server types grouped into 'Others' or 'Unknown' categories.

Experimental results

Research questions

  • RQ1To what extent do public web services support HTTP methods beyond GET and POST?
  • RQ2How does the support for PUT, PATCH, and DELETE methods vary across different web server software?
  • RQ3What is the relationship between path depth and the likelihood of supporting advanced HTTP methods?
  • RQ4Why is there a significant gap between the theoretical use of RESTful methods and their actual deployment in production web services?
  • RQ5How reliable is the 'Allow' header as an indicator of actual method support?

Key findings

  • Only 1.023% of the 40,870 sampled URIs claimed support for all seven common HTTP methods (GET, POST, PUT, PATCH, DELETE, OPTIONS, HEAD) in the 'Allow' header.
  • About 55% of URIs claimed support for both GET and POST, but less than 2% claimed support for any of PUT, PATCH, or DELETE.
  • Apache, the most widely used web server, supported PUT, DELETE, or PATCH on less than 2% of its served URIs.
  • URIs with path depth 1 (e.g., /path) showed the highest overall method support, particularly for PUT and DELETE.
  • Path depth 2 URIs had the highest support rate for PUT and DELETE methods, while depth 3 URIs led in PATCH method support.
  • 15.327% of URIs claimed support only for OPTIONS, HEAD, and GET, and 38.527% claimed support for OPTIONS, HEAD, GET, and POST, indicating minimal use of state-changing methods.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.