3xx Redirection

HTTP 300 Multiple Choices

The request has more than one possible response. The user or user agent should choose one of them. There is no standardized way of choosing one of the responses, but HTML links to the possibilities are usually provided.

Common Causes

  • Resource available in multiple formats (HTML, JSON, XML)
  • Content negotiation with multiple valid options
  • Multiple language versions of a page available

How to Fix

  1. 1Send an Accept header specifying the preferred format
  2. 2Follow the preferred URI from the response body
  3. 3Configure the server to use a default representation

Example

HTTP 300 Multiple Choices
GET /document HTTP/1.1

→ 300 Multiple Choices
→ Links to /document.html, /document.pdf, /document.json

Related Redirection Codes