Skip to content

Commit d4e7ae5

Browse files
authored
Markdown conversion for ru - Cleanup - HTTP section (#8558)
Fix md conversion report
1 parent 6c4b932 commit d4e7ae5

File tree

24 files changed

+98
-138
lines changed

24 files changed

+98
-138
lines changed

files/ru/web/http/basics_of_http/index.html

-4
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,3 @@ <h2 id="Статьи">Статьи</h2>
4646
<dt><a href="/en-US/docs/Web/HTTP/Content_negotiation">Content Negotiation</a></dt>
4747
<dd>HTTP introduces a set of headers, starting with <code>Accept-</code> as a way for a browser to announce the format, language, or encoding it prefers. This article explains how this advertisement happens, how the server is expected to react and how it will choose the most adequate response.</dd>
4848
</dl>
49-
50-
<div id="gtx-trans" style="position: absolute; left: 5px; top: 437px;">
51-
<div class="gtx-trans-icon"></div>
52-
</div>

files/ru/web/http/caching/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ <h2 id="Цели_кеширования">Цели кеширования</h2>
5151

5252
<p>Запись в кеше может также состоять из множества ответов, различаемых по вторичному ключу, если при формировании ответа производится согласование данных. Подробнее об этом рассказано <a href="#Varying_responses">ниже</a>, в разделе, посвящённом заголовку {{HTTPHeader("Vary")}}.</p>
5353

54-
<h2 id="Управление_кешированием"><span class="long_text short_text" id="result_box" lang="ru"><span>Управление</span> </span>кеш<span class="long_text short_text" lang="ru"><span>ированием</span></span></h2>
54+
<h2 id="Управление_кешированием">Управление кешированием</h2>
5555

5656
<h3 id="Заголовок_Cache-control">Заголовок <code>Cache-control</code></h3>
5757

files/ru/web/http/content_negotiation/list_of_default_accept_values/index.html

+10-10
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
---
1111
<div>{{HTTPSidebar}}</div>
1212

13-
<p><span class="seoSummary">В этой статье описывается, какие значения используются в HTTP-заголовке <code><a href="/en-US/docs/Web/HTTP/Headers/Accept">Accept</a></code> по умолчанию в зависимости от конкретного запроса и версии браузера.</span></p>
13+
<p>В этой статье описывается, какие значения используются в HTTP-заголовке <code><a href="/en-US/docs/Web/HTTP/Headers/Accept">Accept</a></code> по умолчанию в зависимости от конкретного запроса и версии браузера.</p>
1414

1515
<h2 id="Значения_по_умолчанию">Значения по умолчанию</h2>
1616

@@ -84,7 +84,7 @@ <h2 id="Значения_для_изображений">Значения для
8484
<code>*/*</code> (начиная с Firefox 47)<br>
8585
<code>image/png,image/*;q=0.8,*/*;q=0.5</code> (в более ранних версиях)</p>
8686
</td>
87-
<td>Значение можно изменить с помощью параметра <code>image.http.accept</code>. <a class="external" href="https://hg.mozilla.org/mozilla-central/file/tip/modules/libpref/init/all.js#l4735"><span style="font-size: x-small;">исходный код</span></a></td>
87+
<td>Значение можно изменить с помощью параметра <code>image.http.accept</code>. <a class="external" href="https://hg.mozilla.org/mozilla-central/file/tip/modules/libpref/init/all.js#l4735">исходный код</a></td>
8888
</tr>
8989
<tr>
9090
<td>Safari</td>
@@ -94,7 +94,7 @@ <h2 id="Значения_для_изображений">Значения для
9494
<tr>
9595
<td>Chrome</td>
9696
<td><code>image/webp,image/apng,image/*,*/*;q=0.8</code></td>
97-
<td><a class="external" href="https://chromium.googlesource.com/chromium/src.git/+/master/content/renderer/loader/web_url_loader_impl.cc#99"><span style="font-size: x-small;">исходный код</span></a></td>
97+
<td><a class="external" href="https://chromium.googlesource.com/chromium/src.git/+/master/content/renderer/loader/web_url_loader_impl.cc#99">исходный код</a></td>
9898
</tr>
9999
<tr>
100100
<td>Internet Explorer до версии 8 включительно</td>
@@ -128,12 +128,12 @@ <h2 id="Значения_для_видео">Значения для видео</
128128
<tr>
129129
<td>Firefox начиная с версии 3.6</td>
130130
<td><code>video/webm,video/ogg,video/*;q=0.9,application/ogg;q=0.7,audio/*;q=0.6,*/*;q=0.5</code></td>
131-
<td>См. <a class="link-https" href="https://bugzilla.mozilla.org/show_bug.cgi?id=489071">страницу ошибки 489071</a>. <a class="external" href="https://hg.mozilla.org/mozilla-central/file/tip/dom/html/HTMLVideoElement.cpp#l136"><span style="font-size: x-small;">исходный код</span></a></td>
131+
<td>См. <a class="link-https" href="https://bugzilla.mozilla.org/show_bug.cgi?id=489071">страницу ошибки 489071</a>. <a class="external" href="https://hg.mozilla.org/mozilla-central/file/tip/dom/html/HTMLVideoElement.cpp#l136">исходный код</a></td>
132132
</tr>
133133
<tr>
134134
<td>Chrome</td>
135135
<td><code>*/*</code></td>
136-
<td><a class="external" href="https://chromium.googlesource.com/chromium/src.git/+/master/services/network/loader_util.cc#27"><span style="font-size: x-small;">исходный код</span></a></td>
136+
<td><a class="external" href="https://chromium.googlesource.com/chromium/src.git/+/master/services/network/loader_util.cc#27">исходный код</a></td>
137137
</tr>
138138
<tr>
139139
<td>Internet Explorer до версии 8 включительно</td>
@@ -157,12 +157,12 @@ <h2 id="Значения_для_аудиофайлов">Значения для
157157
<tr>
158158
<td>Firefox начиная с версии 3.6</td>
159159
<td><code>audio/webm,audio/ogg,audio/wav,audio/*;q=0.9,application/ogg;q=0.7,video/*;q=0.6,*/*;q=0.5</code></td>
160-
<td>См. <a class="link-https" href="https://bugzilla.mozilla.org/show_bug.cgi?id=489071">страницу ошибки 489071</a>. <a class="external" href="https://hg.mozilla.org/mozilla-central/file/tip/dom/html/HTMLAudioElement.cpp#l81"><span style="font-size: x-small;">исходный код</span></a></td>
160+
<td>См. <a class="link-https" href="https://bugzilla.mozilla.org/show_bug.cgi?id=489071">страницу ошибки 489071</a>. <a class="external" href="https://hg.mozilla.org/mozilla-central/file/tip/dom/html/HTMLAudioElement.cpp#l81">исходный код</a></td>
161161
</tr>
162162
<tr>
163163
<td>Safari, Chrome</td>
164164
<td><code>*/*</code></td>
165-
<td><a class="external" href="https://chromium.googlesource.com/chromium/src.git/+/master/services/network/loader_util.cc#27"><span style="font-size: x-small;">исходный код</span></a></td>
165+
<td><a class="external" href="https://chromium.googlesource.com/chromium/src.git/+/master/services/network/loader_util.cc#27">исходный код</a></td>
166166
</tr>
167167
<tr>
168168
<td>Internet Explorer до версии 8 включительно</td>
@@ -196,7 +196,7 @@ <h2 id="Значения_для_скриптов">Значения для скр
196196
<tr>
197197
<td>Safari, Chrome</td>
198198
<td><code>*/*</code></td>
199-
<td><a class="external" href="https://chromium.googlesource.com/chromium/src.git/+/master/services/network/loader_util.cc#27"><span style="font-size: x-small;">исходный код</span></a></td>
199+
<td><a class="external" href="https://chromium.googlesource.com/chromium/src.git/+/master/services/network/loader_util.cc#27">исходный код</a></td>
200200
</tr>
201201
<tr>
202202
<td>Internet Explorer до версии 8 включительно</td>
@@ -225,7 +225,7 @@ <h2 id="Значения_для_таблиц_стилей_CSS">Значения
225225
<tr>
226226
<td>Firefox 4</td>
227227
<td><code>text/css,*/*;q=0.1</code></td>
228-
<td>См. <a class="link-https" href="https://bugzilla.mozilla.org/show_bug.cgi?id=170789">страницу ошибки 170789</a>. <a class="external" href="https://hg.mozilla.org/mozilla-central/file/tip/layout/style/Loader.cpp#l1548"><span style="font-size: x-small;">исходный код</span></a></td>
228+
<td>См. <a class="link-https" href="https://bugzilla.mozilla.org/show_bug.cgi?id=170789">страницу ошибки 170789</a>. <a class="external" href="https://hg.mozilla.org/mozilla-central/file/tip/layout/style/Loader.cpp#l1548">исходный код</a></td>
229229
</tr>
230230
<tr>
231231
<td>Internet Explorer до версии 8 включительно</td>
@@ -240,7 +240,7 @@ <h2 id="Значения_для_таблиц_стилей_CSS">Значения
240240
<tr>
241241
<td>Safari, Chrome</td>
242242
<td><code>text/css,*/*;q=0.1</code></td>
243-
<td><a class="external" href="https://chromium.googlesource.com/chromium/src.git/+/master/content/renderer/loader/web_url_loader_impl.cc#98"><span style="font-size: x-small;">исходный код</span></a></td>
243+
<td><a class="external" href="https://chromium.googlesource.com/chromium/src.git/+/master/content/renderer/loader/web_url_loader_impl.cc#98">исходный код</a></td>
244244
</tr>
245245
<tr>
246246
<td>Opera 11.10</td>

files/ru/web/http/cors/errors/corsmissingalloworigin/index.html

-14
Original file line numberDiff line numberDiff line change
@@ -42,17 +42,3 @@ <h2 id="Смотрите_также">Смотрите также</h2>
4242
<li>Глоссарий: {{Glossary("CORS")}}</li>
4343
<li><a href="/en-US/docs/Web/HTTP/CORS">Введение в CORS</a></li>
4444
</ul>
45-
46-
<div id="simple-translate">
47-
<div>
48-
<div class="simple-translate-button " style="height: 22px; width: 22px; top: 10px; left: 10px;"></div>
49-
50-
<div class="simple-translate-panel " style="width: 300px; height: 200px; top: 0px; left: 0px; font-size: 13px; background-color: rgb(255, 255, 255);">
51-
<div class="simple-translate-result-wrapper" style="overflow: hidden;">
52-
<p class="simple-translate-result" style="color: rgb(0, 0, 0);"></p>
53-
54-
<p class="simple-translate-candidate" style="color: rgb(115, 115, 115);"></p>
55-
</div>
56-
</div>
57-
</div>
58-
</div>

files/ru/web/http/cors/errors/index.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
---
1818
<div>{{HTTPSidebar}}</div>
1919

20-
<p><span class="seoSummary"><a href="/en-US/docs/Web/HTTP/CORS">Cross-Origin Resource Sharing</a> ({{Glossary("CORS")}}) is a standard that allows a server to relax the <a href="/en-US/docs/Web/Security/Same-origin_policy">same-origin policy</a>. This is used to explicitly allow some cross-origin requests while rejecting others.</span> For example, if a site offers an embeddable service, it may be necessary to relax certain restrictions. Setting up such a CORS configuration isn't necessarily easy and may present some challenges. In these pages, we'll look into some common CORS error messages and how to resolve them.</p>
20+
<p><a href="/en-US/docs/Web/HTTP/CORS">Cross-Origin Resource Sharing</a> ({{Glossary("CORS")}}) is a standard that allows a server to relax the <a href="/en-US/docs/Web/Security/Same-origin_policy">same-origin policy</a>. This is used to explicitly allow some cross-origin requests while rejecting others. For example, if a site offers an embeddable service, it may be necessary to relax certain restrictions. Setting up such a CORS configuration isn't necessarily easy and may present some challenges. In these pages, we'll look into some common CORS error messages and how to resolve them.</p>
2121

2222
<p>If the CORS configuration isn't setup correctly, the browser console will present an error like <code>"Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at $somesite"</code> indicating that the request was blocked due to violating the CORS security rules. This might not necessarily be a set-up mistake, though. It's possible that the request is in fact intentionally being disallowed by the user's web application and remote external service. However, If the endpoint is meant to be available, some debugging is needed to succeed.</p>
2323

@@ -34,12 +34,12 @@ <h2 id="Identifying_the_issue">Identifying the issue</h2>
3434

3535
<p>The text of the error message will be something similar to the following:</p>
3636

37-
<pre>Cross<span class="message-body-wrapper"><span class="message-flex-body"><span class="devtools-monospace message-body">-Origin Request Blocked: The Same Origin Policy disallows
37+
<pre>Cross-Origin Request Blocked: The Same Origin Policy disallows
3838
reading the remote resource at <em>https://some-url-here</em>. (<em>Reason:
39-
additional information here</em>).</span></span></span></pre>
39+
additional information here</em>).</pre>
4040

4141
<div class="note">
42-
<p><span class="message-body-wrapper"><span class="message-flex-body"><span class="devtools-monospace message-body"><strong>Note:</strong> For security reasons, specifics about what went wrong with a CORS request <em>are not available to JavaScript code</em>. All the code knows is that an error occurred. The only way to determine what specifically went wrong is to look at the browser's console for details.</span></span></span></p>
42+
<p><strong>Note:</strong> For security reasons, specifics about what went wrong with a CORS request <em>are not available to JavaScript code</em>. All the code knows is that an error occurred. The only way to determine what specifically went wrong is to look at the browser's console for details.</p>
4343
</div>
4444

4545
<h2 id="CORS_error_messages">CORS error messages</h2>

0 commit comments

Comments
 (0)