From 980fe00a74a9ad013b945755415ace2e5429c3c2 Mon Sep 17 00:00:00 2001 From: Alexey Pyltsyn Date: Wed, 27 Oct 2021 02:31:24 +0300 Subject: [RU] Remove notranslate (#2874) --- files/ru/web/http/headers/accept-language/index.html | 4 ++-- files/ru/web/http/headers/accept-patch/index.html | 4 ++-- files/ru/web/http/headers/accept-ranges/index.html | 4 ++-- files/ru/web/http/headers/accept/index.html | 4 ++-- .../ru/web/http/headers/access-control-allow-origin/index.html | 8 ++++---- files/ru/web/http/headers/authorization/index.html | 4 ++-- files/ru/web/http/headers/connection/index.html | 2 +- files/ru/web/http/headers/content-length/index.html | 2 +- files/ru/web/http/headers/content-type/index.html | 6 +++--- files/ru/web/http/headers/date/index.html | 4 ++-- files/ru/web/http/headers/expires/index.html | 4 ++-- files/ru/web/http/headers/set-cookie/index.html | 10 +++++----- files/ru/web/http/headers/strict-transport-security/index.html | 4 ++-- 13 files changed, 30 insertions(+), 30 deletions(-) (limited to 'files/ru/web/http/headers') diff --git a/files/ru/web/http/headers/accept-language/index.html b/files/ru/web/http/headers/accept-language/index.html index 1d2d719976..c1d99c9899 100644 --- a/files/ru/web/http/headers/accept-language/index.html +++ b/files/ru/web/http/headers/accept-language/index.html @@ -33,7 +33,7 @@ original_slug: Web/HTTP/Заголовки/Accept-Language

Синтаксис

-
Accept-Language: <language>
+
Accept-Language: <language>
 Accept-Language: <locale>
 Accept-Language: *
 
@@ -53,7 +53,7 @@ Accept-Language: fr-CH, fr;q=0.9, en;q=0.8, de;q=0.7, *;q=0.5

Примеры

-
Accept-Language: *
+
Accept-Language: *
 
 Accept-Language: de
 
diff --git a/files/ru/web/http/headers/accept-patch/index.html b/files/ru/web/http/headers/accept-patch/index.html
index 17bc2ae125..a0bde94595 100644
--- a/files/ru/web/http/headers/accept-patch/index.html
+++ b/files/ru/web/http/headers/accept-patch/index.html
@@ -37,7 +37,7 @@ original_slug: Web/HTTP/Заголовки/Accept-Patch
 
 

Синтаксис

-
Accept-Patch: application/example, text/example
+
Accept-Patch: application/example, text/example
 Accept-Patch: text/example;charset=utf-8
 Accept-Patch: application/merge-patch+json
 
@@ -48,7 +48,7 @@ Accept-Patch: application/merge-patch+json

Примеры

-
Accept-Patch: application/example, text/example
+
Accept-Patch: application/example, text/example
 
 Accept-Patch: text/example;charset=utf-8
 
diff --git a/files/ru/web/http/headers/accept-ranges/index.html b/files/ru/web/http/headers/accept-ranges/index.html
index 1fa42401f6..8999e94252 100644
--- a/files/ru/web/http/headers/accept-ranges/index.html
+++ b/files/ru/web/http/headers/accept-ranges/index.html
@@ -29,7 +29,7 @@ original_slug: Web/HTTP/Заголовки/Accept-Ranges
 
 

Синтаксис

-
Accept-Ranges: bytes
+
Accept-Ranges: bytes
 Accept-Ranges: none

Указания

@@ -45,7 +45,7 @@ Accept-Ranges: none

Примеры

-
Accept-Ranges: bytes
+
Accept-Ranges: bytes
 

Спецификации

diff --git a/files/ru/web/http/headers/accept/index.html b/files/ru/web/http/headers/accept/index.html index fe6c26b8a0..9be1f22eeb 100644 --- a/files/ru/web/http/headers/accept/index.html +++ b/files/ru/web/http/headers/accept/index.html @@ -31,7 +31,7 @@ original_slug: Web/HTTP/Заголовки/Accept

Синтаксис

-
Accept: <MIME_type>/<MIME_subtype>
+
Accept: <MIME_type>/<MIME_subtype>
 Accept: <MIME_type>/*
 Accept: */*
 
@@ -53,7 +53,7 @@ Accept: text/html, application/xhtml+xml, application/xml;q=0.9, */*;q=0.8

Примеры

-
Accept: text/html
+
Accept: text/html
 
 Accept: image/*
 
diff --git a/files/ru/web/http/headers/access-control-allow-origin/index.html b/files/ru/web/http/headers/access-control-allow-origin/index.html
index a13dd40f06..2ca8fd6ae7 100644
--- a/files/ru/web/http/headers/access-control-allow-origin/index.html
+++ b/files/ru/web/http/headers/access-control-allow-origin/index.html
@@ -23,7 +23,7 @@ original_slug: Web/HTTP/Заголовки/Access-Control-Allow-Origin
 
 

Синтаксис

-
Access-Control-Allow-Origin: *
+
Access-Control-Allow-Origin: *
 Access-Control-Allow-Origin: <origin>
 Access-Control-Allow-Origin: null
 
@@ -45,11 +45,11 @@ Access-Control-Allow-Origin: null

Ответ, который указывает браузеру разрешить доступ к ресурсу из любого источника:

-
Access-Control-Allow-Origin: *
+
Access-Control-Allow-Origin: *

Ответ, который указывает браузеру разрешить доступ к ресурсу только из источника https://developer.mozilla.org:

-
Access-Control-Allow-Origin: https://developer.mozilla.org
+
Access-Control-Allow-Origin: https://developer.mozilla.org

Чтобы ограничить Access-Control-Allow-Origin разрешённым набором значений, необходимо реализовать логику на стороне сервера для проверки значения заголовка {{HTTPHeader("Origin")}} запроса, сравнить его с разрешённым списком источников, а затем, если значение {{HTTPHeader("Origin")}} присутствует в списке, задать значение Access-Control-Allow-Origin, равное значению {{HTTPHeader("Origin")}}.

@@ -57,7 +57,7 @@ Access-Control-Allow-Origin: null

Если сервер послал ответ со значением Access-Control-Allow-Origin, которое содержит явное указание источника (а не шаблонное значение "*"), тогда ответ также должен включать в себя заголовок {{HTTPHeader("Vary")}} со значением Origin — чтобы указать браузеру, что ответы с сервера могут отличаться в зависимости от заголовка запроса Origin.

-
Access-Control-Allow-Origin: https://developer.mozilla.org
+
Access-Control-Allow-Origin: https://developer.mozilla.org
 Vary: Origin

Спецификации

diff --git a/files/ru/web/http/headers/authorization/index.html b/files/ru/web/http/headers/authorization/index.html index 04e65d2079..d8a93de1f6 100644 --- a/files/ru/web/http/headers/authorization/index.html +++ b/files/ru/web/http/headers/authorization/index.html @@ -28,7 +28,7 @@ original_slug: Web/HTTP/Заголовки/Authorization

Синтаксис

-
Authorization: <тип> <данные пользователя>
+
Authorization: <тип> <данные пользователя>

Директивы

@@ -55,7 +55,7 @@ original_slug: Web/HTTP/Заголовки/Authorization

Примеры

-
Authorization: Basic YWxhZGRpbjpvcGVuc2VzYW1l
+
Authorization: Basic YWxhZGRpbjpvcGVuc2VzYW1l
 

Смотрите также HTTP авторизацию для примеров конфигураций веб-серверов Apache или nginx с защитой вашего сайта паролем с Базовой HTTP авторизацией.

diff --git a/files/ru/web/http/headers/connection/index.html b/files/ru/web/http/headers/connection/index.html index 5bf2f5ad82..935d9c1e98 100644 --- a/files/ru/web/http/headers/connection/index.html +++ b/files/ru/web/http/headers/connection/index.html @@ -34,7 +34,7 @@ original_slug: Web/HTTP/Заголовки/Connection

Синтаксис

-
Connection: keep-alive
+
Connection: keep-alive
 Connection: close
 
diff --git a/files/ru/web/http/headers/content-length/index.html b/files/ru/web/http/headers/content-length/index.html index 0fd6d9ff77..919fc20b0c 100644 --- a/files/ru/web/http/headers/content-length/index.html +++ b/files/ru/web/http/headers/content-length/index.html @@ -30,7 +30,7 @@ original_slug: Web/HTTP/Заголовки/Content-Length

Синтаксис

-
Content-Length: <длина>
+
Content-Length: <длина>
 

Директивы

diff --git a/files/ru/web/http/headers/content-type/index.html b/files/ru/web/http/headers/content-type/index.html index 7096fe0fa1..7c194e6224 100644 --- a/files/ru/web/http/headers/content-type/index.html +++ b/files/ru/web/http/headers/content-type/index.html @@ -31,7 +31,7 @@ original_slug: Web/HTTP/Заголовки/Content-Type

Синтаксис

-
Content-Type: text/html; charset=utf-8
+
Content-Type: text/html; charset=utf-8
 Content-Type: multipart/form-data; boundary=something
 
@@ -52,7 +52,7 @@ Content-Type: multipart/form-data; boundary=something

В {{HTTPMethod("POST")}} запросе, сгенерированном в результате отправки HTML формы, Content-Type запроса определяется в атрибуте enctype тега {{HTMLElement("form")}}.

-
<form action="/" method="post" enctype="multipart/form-data">
+
<form action="/" method="post" enctype="multipart/form-data">
   <input type="text" name="description" value="some text">
   <input type="file" name="myFile">
   <button type="submit">Submit</button>
@@ -61,7 +61,7 @@ Content-Type: multipart/form-data; boundary=something
 
 

Запрос в этом случае может выглядеть так (менее интересные заголовки опущены):

-
POST /foo HTTP/1.1
+
POST /foo HTTP/1.1
 Content-Length: 68137
 Content-Type: multipart/form-data; boundary=---------------------------974767299852498929531610575
 
diff --git a/files/ru/web/http/headers/date/index.html b/files/ru/web/http/headers/date/index.html
index bfd7a52acc..a91717006a 100644
--- a/files/ru/web/http/headers/date/index.html
+++ b/files/ru/web/http/headers/date/index.html
@@ -28,7 +28,7 @@ original_slug: Web/HTTP/Заголовки/Date
 
 

Синтаксис

-
Date: <day-name>, <day> <month> <year> <hour>:<minute>:<second> GMT
+
Date: <day-name>, <day> <month> <year> <hour>:<minute>:<second> GMT
 

Директивы

@@ -56,7 +56,7 @@ original_slug: Web/HTTP/Заголовки/Date

Примеры

-
Date: Wed, 21 Oct 2015 07:28:00 GMT
+
Date: Wed, 21 Oct 2015 07:28:00 GMT
 

Спецификации

diff --git a/files/ru/web/http/headers/expires/index.html b/files/ru/web/http/headers/expires/index.html index 825f586182..9a9756aeb9 100644 --- a/files/ru/web/http/headers/expires/index.html +++ b/files/ru/web/http/headers/expires/index.html @@ -36,7 +36,7 @@ original_slug: Web/HTTP/Заголовки/Expires

Синтаксис

-
Expires: <http-date>
+
Expires: <http-date>
 

Директивы

@@ -50,7 +50,7 @@ original_slug: Web/HTTP/Заголовки/Expires

Примеры

-
Expires: Wed, 21 Oct 2015 07:28:00 GMT
+
Expires: Wed, 21 Oct 2015 07:28:00 GMT

Спецификация

diff --git a/files/ru/web/http/headers/set-cookie/index.html b/files/ru/web/http/headers/set-cookie/index.html index 20e2bee4e4..03fab68b3b 100644 --- a/files/ru/web/http/headers/set-cookie/index.html +++ b/files/ru/web/http/headers/set-cookie/index.html @@ -26,7 +26,7 @@ original_slug: Web/HTTP/Заголовки/Set-Cookie

Синтаксис

-
Set-Cookie: <cookie-name>=<cookie-value>
+
Set-Cookie: <cookie-name>=<cookie-value>
 Set-Cookie: <cookie-name>=<cookie-value>; Expires=<date>
 Set-Cookie: <cookie-name>=<cookie-value>; Max-Age=<non-zero-digit>
 Set-Cookie: <cookie-name>=<cookie-value>; Domain=<domain-value>
@@ -120,26 +120,26 @@ Set-Cookie: <cookie-name>=<cookie-value>; Domain=<domain-value>
 
 

Сессионные cookies будут удалены после отключения клиента. В них не указываются директивы Expires или Max-Age. Учитывайте, что часто в браузере включено восстановление сессии.

-
Set-Cookie: sessionid=38afes7a8; HttpOnly; Path=/
+
Set-Cookie: sessionid=38afes7a8; HttpOnly; Path=/

Вместо истечения срока действия, когда клиент закрыт, срок действия постоянных файлов cookie истекает в определённую дату (Expires) или по истечении определённого промежутка времени (Max-Age).

-
Set-Cookie: id=a3fWa; Expires=Wed, 21 Oct 2015 07:28:00 GMT; Secure; HttpOnly
+
Set-Cookie: id=a3fWa; Expires=Wed, 21 Oct 2015 07:28:00 GMT; Secure; HttpOnly
 

Неверные домены

Файл cookie, принадлежащий домену, который не включает исходный сервер, должен быть отклонён пользовательским. Следующий cookie будет отклонён, если он был установлен сервером, размещённым на originalcompany.com.

-
Set-Cookie: qwerty=219ffwef9w0f; Domain=somecompany.co.uk; Path=/; Expires=Wed, 30 Aug 2019 00:00:00 GMT
+
Set-Cookie: qwerty=219ffwef9w0f; Domain=somecompany.co.uk; Path=/; Expires=Wed, 30 Aug 2019 00:00:00 GMT

Cookies names with the prefixes __Secure- and __Host- can be used only if they are set with the secure directive from a secure (HTTPS) origin. In addition, cookies with the __Host- prefix must have a path of "/" (the entire host) and must not have a domain attribute. For clients that don't implement cookie prefixes, you cannot count on having these additional assurances and the cookies will always be accepted.

-
// Both accepted when from a secure origin (HTTPS)
+
// Both accepted when from a secure origin (HTTPS)
 Set-Cookie: __Secure-ID=123; Secure; Domain=example.com
 Set-Cookie: __Host-ID=123; Secure; Path=/
 
diff --git a/files/ru/web/http/headers/strict-transport-security/index.html b/files/ru/web/http/headers/strict-transport-security/index.html
index 4ade62c5dd..35835a88e8 100644
--- a/files/ru/web/http/headers/strict-transport-security/index.html
+++ b/files/ru/web/http/headers/strict-transport-security/index.html
@@ -23,7 +23,7 @@ original_slug: Web/HTTP/Заголовки/Strict-Transport-Security
 
 

Syntax

-
Strict-Transport-Security: max-age=<expire-time>
+
Strict-Transport-Security: max-age=<expire-time>
 Strict-Transport-Security: max-age=<expire-time>; includeSubDomains
 Strict-Transport-Security: max-age=<expire-time>; preload
 
@@ -74,7 +74,7 @@ Strict-Transport-Security: max-age=<expire-time>; preload

Все текущие и будущие субдомены будут HTTPS по max-age на 1 год. Это блокирует доступ к страницам или субдоменам, которые могут быть доступны только по HTTP.

-
Strict-Transport-Security: max-age=31536000; includeSubDomains
+
Strict-Transport-Security: max-age=31536000; includeSubDomains

Specifications

-- cgit v1.2.3-54-g00ecf