{"id":16076,"date":"2025-07-24T16:48:43","date_gmt":"2025-07-24T14:48:43","guid":{"rendered":"https:\/\/surver.nl\/?post_type=kennisbank&#038;p=16076"},"modified":"2025-07-30T09:47:09","modified_gmt":"2025-07-30T07:47:09","slug":"status-code-206","status":"publish","type":"kennisbank","link":"https:\/\/surver.nl\/en\/kennisbank\/statuscode-206\/","title":{"rendered":"What does status code 206 Partial Content mean?"},"content":{"rendered":"<figure class=\"wp-block-image size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1000\" height=\"667\" src=\"https:\/\/surver.nl\/wp-content\/uploads\/2025\/07\/image-1.png\" alt=\"Status code 206\" class=\"wp-image-16077\" srcset=\"https:\/\/surver.nl\/wp-content\/uploads\/2025\/07\/image-1.png 1000w, https:\/\/surver.nl\/wp-content\/uploads\/2025\/07\/image-1-300x200.png 300w, https:\/\/surver.nl\/wp-content\/uploads\/2025\/07\/image-1-768x512.png 768w, https:\/\/surver.nl\/wp-content\/uploads\/2025\/07\/image-1-18x12.png 18w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/><\/figure>\n\n\n\n<p>You have status codes like 200 that say: all good, here's the full content. But sometimes you don't want to retrieve everything at once. Think of a video you start halfway through. Or a large download that was momentarily interrupted. In those cases, the server only sends back a portion. So then you don't get a 200, but a 206.<\/p>\n\n\n\n<p>It sounds like an edge case, but it is not. The 206 appears regularly in modern websites and applications, especially those working with media files or smart loading methods.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Specifically, what does 206 mean?<\/h2>\n\n\n\n<p>In short, the 206 status indicates that the request succeeded, but only part of the requested data was returned. And this is done that way on purpose. The client itself requested a piece, and the server says: fine, here's only that part.<\/p>\n\n\n\n<p>Technically, this is done with a Range header. The browser (or tool) then says something like: give me byte 1,000 to 2,000 of this file. And if the server supports that, a 206 Partial Content comes back nicely, with exactly that piece of data.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Where do you see this reflected?<\/h2>\n\n\n\n<p>You won't encounter it when opening a regular web page. There, you'll just get a 200 back. But as soon as you work with large files, or with media you can flush, that changes.<\/p>\n\n\n\n<p>For example:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>You start a video somewhere halfway through. The player then does not ask for the whole file, but starts from that point.<br><\/li>\n\n\n\n<li>You resume a download that was aborted halfway through.<br><\/li>\n\n\n\n<li>Some apps and scripts load files in chunks - to optimize speed or memory.<br><\/li>\n<\/ul>\n\n\n\n<p>In all those cases, it works with a partial request, and the 206 comes into play.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How do you check if your site's server is returning 206 status codes?<\/h2>\n\n\n\n<p>Want to check this on your own site? There are several ways to do that. With <strong>Screaming Frog<\/strong> you can see what status codes your pages return, but you usually don't see 206 there because it only crawls whole pages.<\/p>\n\n\n\n<p>Better to use a tool such as <strong>Letter carrier<\/strong> or curl, where you manually include a Range header. For example, request only the first 500 bytes of a file and see what comes back. If you see HTTP\/1.1 206 Partial Content, then you know enough.<\/p>\n\n\n\n<p>Just want a quick look at what code you get when flushing a video or download? Open your browser, press F12, go to the tab <em>Network<\/em> and see what happens. Chances are you will see a 206 appear somewhere.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What about status code 200 then?<\/h2>\n\n\n\n<p>That's a good one to put next to 206 for a moment. Because technically they are similar: both indicate that everything went well.<\/p>\n\n\n\n<p>Yet the difference is simple. <strong>200<\/strong> means: here is the whole file. Just everything.<br><strong>206<\/strong> means: you only asked for a part, so you only get a part back.<\/p>\n\n\n\n<p>So they are not alternatives to each other, but each with its own application. If a server does not support 206, but you do make a Range request, it can still return everything with a 200, which you do not always want.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Why is 206 convenient?<\/h2>\n\n\n\n<p>It ensures that you are not pulling in data unnecessarily. This is especially important with media, large files and mobile connections. Why pull up 5 MB if you only need 200 KB of it?<\/p>\n\n\n\n<p>It also plays a role when resuming downloads or smartly streaming files. For users, the difference is not immediately apparent, but for performance and bandwidth it certainly matters.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What can you do with this knowledge yourself?<\/h2>\n\n\n\n<p>If you build your own APIs, serve videos or offer downloads, it's good to know if your server supports 206. And whether you have set up the behavior correctly. Sometimes it's a matter of allowing headers or setting up your CDN or cache layer correctly.<\/p>\n\n\n\n<p>And even if you only manage a site, it is useful to know that this status exists. Especially if you're working on load times, logging or debugging media.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Summary<\/h2>\n\n\n\n<p>The 206 status is not an error message, but a confirmation: you asked for a piece, and you get that piece. No more, no less.<\/p>\n\n\n\n<p>The difference with 200? That one sends everything back no matter what you asked. 206 listens better.<\/p>\n\n\n\n<p>And if your site needs to respond quickly, efficiently and correctly to these types of requests - whether you offer media or not - a reliable hosting environment is essential. At Surver, we make sure your site can handle that flexibility.<\/p>","protected":false},"excerpt":{"rendered":"<p>Je hebt statuscodes zoals 200 die zeggen: alles goed, hier is de volledige content. Maar soms wil je niet alles in \u00e9\u00e9n keer ophalen. Denk aan een video die je halverwege start. Of een grote download die even was onderbroken. In die gevallen stuurt de server alleen een deel terug. Dan krijg je dus geen [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":16077,"template":"","meta":{"_acf_changed":false,"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}}},"kennisbank_categorieen":[64],"class_list":["post-16076","kennisbank","type-kennisbank","status-publish","has-post-thumbnail","hentry","kennisbank_categorieen-statuscodes"],"acf":[],"_links":{"self":[{"href":"https:\/\/surver.nl\/en\/wp-json\/wp\/v2\/kennisbank\/16076","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/surver.nl\/en\/wp-json\/wp\/v2\/kennisbank"}],"about":[{"href":"https:\/\/surver.nl\/en\/wp-json\/wp\/v2\/types\/kennisbank"}],"author":[{"embeddable":true,"href":"https:\/\/surver.nl\/en\/wp-json\/wp\/v2\/users\/2"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/surver.nl\/en\/wp-json\/wp\/v2\/media\/16077"}],"wp:attachment":[{"href":"https:\/\/surver.nl\/en\/wp-json\/wp\/v2\/media?parent=16076"}],"wp:term":[{"taxonomy":"kennisbank_categorieen","embeddable":true,"href":"https:\/\/surver.nl\/en\/wp-json\/wp\/v2\/kennisbank_categorieen?post=16076"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}