aboutsummaryrefslogtreecommitdiff
path: root/files/tr/web/http/status/401/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/tr/web/http/status/401/index.html')
-rw-r--r--files/tr/web/http/status/401/index.html54
1 files changed, 54 insertions, 0 deletions
diff --git a/files/tr/web/http/status/401/index.html b/files/tr/web/http/status/401/index.html
new file mode 100644
index 0000000000..1eb6e7c0d7
--- /dev/null
+++ b/files/tr/web/http/status/401/index.html
@@ -0,0 +1,54 @@
+---
+title: 401 Yetkisiz
+slug: Web/HTTP/Status/401
+translation_of: Web/HTTP/Status/401
+---
+<div>{{HTTPSidebar}}</div>
+
+<p>The HTTP <strong><code>401 Unauthorized</code></strong> client error status response code indicates that the request has not been applied because it lacks valid authentication credentials for the target resource.</p>
+
+<p>This status is sent with a {{HTTPHeader("WWW-Authenticate")}} header that contains information on how to authorize correctly.</p>
+
+<p>This status is similar to {{HTTPStatus("403")}}, but in this case, authentication is possible.</p>
+
+<h2 id="Status">Status</h2>
+
+<pre class="syntaxbox notranslate">401 Unauthorized</pre>
+
+<h2 id="Example_response">Example response</h2>
+
+<pre class="notranslate">HTTP/1.1 401 Unauthorized
+Date: Wed, 21 Oct 2015 07:28:00 GMT
+WWW-Authenticate: Basic realm="Access to staging site"</pre>
+
+<h2 id="Specifications">Specifications</h2>
+
+<table class="standard-table">
+ <tbody>
+ <tr>
+ <th scope="col">Specification</th>
+ <th scope="col">Title</th>
+ </tr>
+ <tr>
+ <td>{{RFC("7235", "401 Unauthorized" , "3.1")}}</td>
+ <td>HTTP/1.1: Authentication</td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="Browser_compatibility">Browser compatibility</h2>
+
+<p class="hidden">The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out <a href="https://github.com/mdn/browser-compat-data">https://github.com/mdn/browser-compat-data</a> and send us a pull request.</p>
+
+<p>{{Compat("http.status.401")}}</p>
+
+<h2 id="See_also">See also</h2>
+
+<ul>
+ <li><a href="/en-US/docs/Web/HTTP/Authentication">HTTP authentication</a></li>
+ <li>{{HTTPHeader("WWW-Authenticate")}}</li>
+ <li>{{HTTPHeader("Authorization")}}</li>
+ <li>{{HTTPHeader("Proxy-Authorization")}}</li>
+ <li>{{HTTPHeader("Proxy-Authenticate")}}</li>
+ <li>{{HTTPStatus("403")}}, {{HTTPStatus("407")}}</li>
+</ul>