aboutsummaryrefslogtreecommitdiff
path: root/files/uk/web/http/status/206/index.html
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2020-12-08 14:43:23 -0500
committerPeter Bengtsson <mail@peterbe.com>2020-12-08 14:43:23 -0500
commit218934fa2ed1c702a6d3923d2aa2cc6b43c48684 (patch)
treea9ef8ac1e1b8fe4207b6d64d3841bfb8990b6fd0 /files/uk/web/http/status/206/index.html
parent074785cea106179cb3305637055ab0a009ca74f2 (diff)
downloadtranslated-content-218934fa2ed1c702a6d3923d2aa2cc6b43c48684.tar.gz
translated-content-218934fa2ed1c702a6d3923d2aa2cc6b43c48684.tar.bz2
translated-content-218934fa2ed1c702a6d3923d2aa2cc6b43c48684.zip
initial commit
Diffstat (limited to 'files/uk/web/http/status/206/index.html')
-rw-r--r--files/uk/web/http/status/206/index.html84
1 files changed, 84 insertions, 0 deletions
diff --git a/files/uk/web/http/status/206/index.html b/files/uk/web/http/status/206/index.html
new file mode 100644
index 0000000000..9c4da2ba75
--- /dev/null
+++ b/files/uk/web/http/status/206/index.html
@@ -0,0 +1,84 @@
+---
+title: 206 Частковий вміст
+slug: Web/HTTP/Status/206
+tags:
+ - 206 Частковий зміст
+ - HTTP
+ - HTTP Статус
+ - Запити діапазону
+translation_of: Web/HTTP/Status/206
+---
+<div>{{HTTPSidebar}}</div>
+
+<p>Код статусу <strong>HTTP</strong> <strong><code>206 Partial Content</code></strong> вказує на те, що запит був успішним, і його тіло містить запитувані діапазони даних, як описано в заголовку {{HTTPHeader ("Range")}} запиту.</p>
+
+<p>Якщо є лише один діапазон, {{HTTPHeader ("Content-Type")}} всієї відповіді встановлюється на тип документа, а також {{HTTPHeader ("Content-Range")}}.</p>
+
+<p>Якщо декілька діапазонів відправлені назад, {{HTTPHeader ("Content-Type")}} встановлюється на <code>multipart/byteranges</code>, а кожен фрагмент охоплює один діапазон, з {{HTTPHeader ("Content-Range")}} і {{HTTPHeader ("Content-Type") }} описуючи його.</p>
+
+<h2 id="Статус">Статус</h2>
+
+<pre class="syntaxbox">206 Partial Content</pre>
+
+<h2 id="Приклади">Приклади</h2>
+
+<p>Відповідь, що містить один єдиний діапазон:</p>
+
+<pre class="newpage">HTTP/1.1 206 Partial Content
+Date: Wed, 15 Nov 2015 06:25:24 GMT
+Last-Modified: Wed, 15 Nov 2015 04:58:08 GMT
+Content-Range: bytes 21010-47021/47022
+Content-Length: 26012
+Content-Type: image/gif
+
+... 26012 bytes of partial image data ...</pre>
+
+<p>Відповідь, що містить кілька діапазонів:</p>
+
+<pre class="newpage">HTTP/1.1 206 Partial Content
+Date: Wed, 15 Nov 2015 06:25:24 GMT
+Last-Modified: Wed, 15 Nov 2015 04:58:08 GMT
+Content-Length: 1741
+Content-Type: multipart/byteranges; boundary=String_separator
+
+--String_separator
+Content-Type: application/pdf
+Content-Range: bytes 234-639/8000
+
+...the first range...
+--String_separator
+Content-Type: application/pdf
+Content-Range: bytes 4590-7999/8000
+
+...the second range
+--String_separator--</pre>
+
+<h2 id="Специфікації">Специфікації</h2>
+
+<table class="standard-table">
+ <tbody>
+ <tr>
+ <th scope="col">Specification</th>
+ <th scope="col">Title</th>
+ </tr>
+ <tr>
+ <td>{{RFC("7233", "206 Partial Content" , "4.1")}}</td>
+ <td>Hypertext Transfer Protocol (HTTP/1.1): Range Requests</td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="Сумісність_з_браузерами">Сумісність з браузерами</h2>
+
+<p class="hidden">Таблиця сумісності на цій сторінці генерується з структурованих даних. Якщо ви хочете внести вклад до даних, будь ласка, перевірте <a href="https://github.com/mdn/browser-compat-data">https://github.com/mdn/browser-compat-data</a> і надішліть нам запит.</p>
+
+<p>{{Compat("http.status.206")}}</p>
+
+<h2 id="Дивись_також">Дивись також</h2>
+
+<ul>
+ <li>{{HTTPHeader("If-Range")}}</li>
+ <li>{{HTTPHeader("Range")}}</li>
+ <li>{{HTTPHeader("Content-Range")}}</li>
+ <li>{{HTTPHeader("Content-Type")}}</li>
+</ul>