QuestenaÜben und erkennen, was als Nächstes dran ist
Frage 8

A POST receives a redirect. Which status code forbids the user agent from changing the request method during automatic redirection?

  1. 302 (Found)
  2. 303 (See Other)
  3. 301 (Moved Permanently)
  4. 307 (Temporary Redirect)Richtige Antwort

Erklärung

307 states as a MUST NOT that the user agent may not change the method; 308 plays the same role for permanent redirects. For 301 and 302 the spec explicitly permits a user agent to rewrite POST to GET for historical reasons, and 303 directs the agent to perform a retrieval request instead.

Mit diesem Test weitermachen

Übung starten
Frage 8: A POST receives a redirect. Which status code forbids the… · HTTP Semantics · Questena