diff options
Diffstat (limited to 'files/ru/web/http/methods')
| -rw-r--r-- | files/ru/web/http/methods/connect/index.html | 4 | ||||
| -rw-r--r-- | files/ru/web/http/methods/patch/index.html | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/files/ru/web/http/methods/connect/index.html b/files/ru/web/http/methods/connect/index.html index 65ab7c1889..c38ecb940d 100644 --- a/files/ru/web/http/methods/connect/index.html +++ b/files/ru/web/http/methods/connect/index.html @@ -42,14 +42,14 @@ translation_of: Web/HTTP/Methods/CONNECT <h2 id="Синтаксис">Синтаксис</h2> -<pre class="syntaxbox notranslate">CONNECT www.example.com:443 HTTP/1.1 +<pre class="syntaxbox">CONNECT www.example.com:443 HTTP/1.1 </pre> <h2 id="Пример">Пример</h2> <p>Некоторые прокси сервера могут запросить авторизацию для создания туннеля. Смотрите также {{HTTPHeader("Proxy-Authorization")}}.</p> -<pre class="line-numbers language-html notranslate">CONNECT server.example.com:80 HTTP/1.1 +<pre class="line-numbers language-html">CONNECT server.example.com:80 HTTP/1.1 Host: server.example.com:80 Proxy-Authorization: basic aGVsbG86d29ybGQ=</pre> diff --git a/files/ru/web/http/methods/patch/index.html b/files/ru/web/http/methods/patch/index.html index 06700f5653..9cd49d35d4 100644 --- a/files/ru/web/http/methods/patch/index.html +++ b/files/ru/web/http/methods/patch/index.html @@ -53,14 +53,14 @@ translation_of: Web/HTTP/Methods/PATCH <h2 id="Синтаксис">Синтаксис</h2> -<pre class="syntaxbox notranslate">PATCH /file.txt HTTP/1.1 +<pre class="syntaxbox">PATCH /file.txt HTTP/1.1 </pre> <h2 id="Пример">Пример</h2> <h3 id="Запрос">Запрос</h3> -<pre class="line-numbers language-html notranslate">PATCH /file.txt HTTP/1.1 +<pre class="line-numbers language-html">PATCH /file.txt HTTP/1.1 Host: www.example.com Content-Type: application/example If-Match: "e0023aa4e" @@ -72,7 +72,7 @@ Content-Length: 100 <p>Успешный ответ указывается с помощью кода ответа {{HTTPStatus("204")}}, поскольку ответ в примере не содержит тела сообщения. А если бы содержал, то код был бы {{HTTPStatus("200")}}.</p> -<pre class="newpage notranslate">HTTP/1.1 204 No Content +<pre class="newpage">HTTP/1.1 204 No Content Content-Location: /file.txt ETag: "e0023aa4f"</pre> |
