R

Ravina • 3.96K Points
Extraordinary

Q. How are headers validated in FastAPI?

  • (A) Using Header()
  • (B) Using Query()
  • (C) Using Validate()
  • (D) Using Request.headers
  • Correct Answer - Option(A)
  • Views: 18
  • Filed under category Fast API
  • Hashtags:

Explanation by: Ravina
`Header()` is used to extract and validate header values.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.