R

Ravina • 3.96K Points
Extraordinary

Q. Which built-in FastAPI response class is used to return HTML?

  • (A) TextResponse
  • (B) HtmlResponse
  • (C) HTMLResponse
  • (D) ResponseHTML
  • Correct Answer - Option(C)
  • Views: 16
  • Filed under category Fast API
  • Hashtags:

Explanation by: Ravina
`HTMLResponse` is used to return HTML content to the client.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.