Questenaتمرینی که نشان می‌دهد بعد چه چیزی را مرور کنید
سؤال 11

Which header field must a server include when it responds 401 (Unauthorized)?

  1. Retry-After, indicating when credentials may be presented again
  2. Proxy-Authenticate, with at least one challenge
  3. WWW-Authenticate, with at least one challenge applicable to the target resourceپاسخ درست
  4. Authorization

توضیح

A 401 without WWW-Authenticate violates a MUST, which is one practical way 401 differs from 403: 403 carries no such requirement and signals that the server refuses regardless of retrying with the same credentials. Proxy-Authenticate belongs to 407, not 401.

ادامهٔ این آزمون

شروع تمرین
سؤال 11: Which header field must a server include when it responds… · HTTP Semantics · Questena