Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[zh-TW]: update HTTP Status 423 #26103

Merged
merged 4 commits into from
Mar 5, 2025
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 12 additions & 5 deletions files/zh-tw/web/http/status/423/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,25 @@
title: 423 Locked
slug: Web/HTTP/Status/423
l10n:
sourceCommit: 50a5ce565b2fa0b988b3f5ff90ea4b24b13e4b9d
sourceCommit: 783ffd9c1cf35421242e028a1b8743cf2b1918dd
---

{{HTTPSidebar}}

> **備註:** *鎖定*資源的能力僅特定於某些 {{Glossary("WebDAV")}} 伺服器。訪問網頁的瀏覽器永遠不會遇到此狀態碼;在出現錯誤情況時,它們將將其處理為通用的 `400` 狀態碼
HTTP **`423 Locked`** [用戶端錯誤回應](/zh-TW/docs/Web/HTTP/Status#用戶端錯誤回應)狀態碼表示某個資源已被**鎖定**,意味著無法存取。其回應主體應包含以 {{glossary("WebDAV")}} 的 XML 格式的相關資訊

HTTP **`423 Locked`** 錯誤回應碼表示所暫時鎖定的資源,意味著無法訪問。其內容應該包含 WebDAV 的 XML 格式的一些資訊。
> [!NOTE]
> 鎖定資源以防止衝突的功能是某些 {{Glossary("WebDAV")}} 伺服器特有的。瀏覽器在存取網頁時永遠不會遇到此狀態碼;如果發生錯誤情況,它們將其視為一般的 {{HTTPStatus(400)}} 狀態碼來處理。

## 狀態

```http
423 Locked
```

### 範例
## 範例

### WebDAV 423 Locked 回應

```http
HTTP/1.1 423 Locked
Expand All @@ -27,11 +30,15 @@ Content-Length: xxxx
<?xml version="1.0" encoding="utf-8" ?>
<D:error xmlns:D="DAV:">
<D:lock-token-submitted>
<D:href>/workspace/webdav/</D:href>
<D:href>/workspace/web-dav/</D:href>
</D:lock-token-submitted>
</D:error>
```

## 規範

{{Specifications}}

## 參見

- [HTTP 回應狀態碼](/zh-TW/docs/Web/HTTP/Status)