S

Shyam Dubey • 3.70K Points
Extraordinary

Q. Which component helps in sending file responses in FastAPI?

  • (A) send_file()
  • (B) FileResponse
  • (C) OutputStream
  • (D) FileOutput
  • Correct Answer - Option(B)
  • Views: 49
  • Filed under category Fast API
  • Hashtags:

Explanation by: Shyam Dubey

Use `FileResponse` to send files as responses in FastAPI.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.