<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>HTTP Done Right: Status, Errors, Forms &amp; Files on DATATWEETS</title><link>https://datatweets.com/courses/fastapi/http-status-errors-forms-files/</link><description>Recent content in HTTP Done Right: Status, Errors, Forms &amp; Files on DATATWEETS</description><generator>Hugo</generator><language>en</language><copyright>Copyright (c) 2025 Datatweets</copyright><lastBuildDate>Sun, 28 Jun 2026 09:00:00 +0200</lastBuildDate><atom:link href="https://datatweets.com/courses/fastapi/http-status-errors-forms-files/index.xml" rel="self" type="application/rss+xml"/><item><title>Lesson 1 - Status Codes and Response Types</title><link>https://datatweets.com/courses/fastapi/http-status-errors-forms-files/lesson-1-status-codes-and-response-types/</link><pubDate>Fri, 14 Nov 2025 09:00:00 +0200</pubDate><guid>https://datatweets.com/courses/fastapi/http-status-errors-forms-files/lesson-1-status-codes-and-response-types/</guid><description>An API&amp;rsquo;s status code tells the client what happened before it reads a single byte of the body. Learn the status-code families, set the right code per endpoint, and choose response types like JSON, plain text, and empty 204s.</description></item><item><title>Lesson 2 - Handling Errors</title><link>https://datatweets.com/courses/fastapi/http-status-errors-forms-files/lesson-2-handling-errors/</link><pubDate>Fri, 14 Nov 2025 09:00:00 +0200</pubDate><guid>https://datatweets.com/courses/fastapi/http-status-errors-forms-files/lesson-2-handling-errors/</guid><description>Errors are part of your API&amp;rsquo;s contract. Raise HTTPException for not-found and other failures, pick the right status code, add headers when needed, and map your own exception types to clean responses with custom exception handlers.</description></item><item><title>Lesson 3 - Headers, Cookies, and Forms</title><link>https://datatweets.com/courses/fastapi/http-status-errors-forms-files/lesson-3-headers-cookies-forms/</link><pubDate>Fri, 14 Nov 2025 09:00:00 +0200</pubDate><guid>https://datatweets.com/courses/fastapi/http-status-errors-forms-files/lesson-3-headers-cookies-forms/</guid><description>Not every input is a path param or JSON body. Read request headers with Header, cookies with Cookie, and HTML form submissions with Form — and learn when to use form data instead of a JSON body.</description></item><item><title>Lesson 4 - Working with Files</title><link>https://datatweets.com/courses/fastapi/http-status-errors-forms-files/lesson-4-working-with-files/</link><pubDate>Fri, 14 Nov 2025 09:00:00 +0200</pubDate><guid>https://datatweets.com/courses/fastapi/http-status-errors-forms-files/lesson-4-working-with-files/</guid><description>Handle files the right way: accept uploads with UploadFile (streamed, with metadata), read and validate their contents, reject bad uploads, and return files to clients with FileResponse.</description></item><item><title>Lesson 5 - Guided Project: Robust Task Endpoints</title><link>https://datatweets.com/courses/fastapi/http-status-errors-forms-files/lesson-5-guided-project-robust-task-endpoints/</link><pubDate>Fri, 14 Nov 2025 09:00:00 +0200</pubDate><guid>https://datatweets.com/courses/fastapi/http-status-errors-forms-files/lesson-5-guided-project-robust-task-endpoints/</guid><description>The third version of the course project: give the Tasks API professional HTTP behavior. Add 201 Created and 204 No Content, raise clean 404s with HTTPException, and accept a file attachment with UploadFile.</description></item></channel></rss>