diff options
author | Florian Merz <me@fiji-flo.de> | 2021-02-11 12:56:53 +0100 |
---|---|---|
committer | Florian Merz <me@fiji-flo.de> | 2021-02-11 12:56:53 +0100 |
commit | fc56124ac4eda6b3f0349c8a16fa750f27b4c7d6 (patch) | |
tree | 7089f49c5dcc5428f29711439ab79ac387caf44f /files/zh-cn/glossary/idempotent/index.html | |
parent | 310fd066e91f454b990372ffa30e803cc8120975 (diff) | |
download | translated-content-fc56124ac4eda6b3f0349c8a16fa750f27b4c7d6.tar.gz translated-content-fc56124ac4eda6b3f0349c8a16fa750f27b4c7d6.tar.bz2 translated-content-fc56124ac4eda6b3f0349c8a16fa750f27b4c7d6.zip |
unslug zh-cn: modify
Diffstat (limited to 'files/zh-cn/glossary/idempotent/index.html')
-rw-r--r-- | files/zh-cn/glossary/idempotent/index.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/files/zh-cn/glossary/idempotent/index.html b/files/zh-cn/glossary/idempotent/index.html index cc8b22c143..e0dde60f23 100644 --- a/files/zh-cn/glossary/idempotent/index.html +++ b/files/zh-cn/glossary/idempotent/index.html @@ -1,10 +1,11 @@ --- title: 幂等 -slug: Glossary/幂等 +slug: Glossary/Idempotent tags: - Glossary - WebMechanics translation_of: Glossary/Idempotent +original_slug: Glossary/幂等 --- <p>一个HTTP方法是<strong>幂等</strong>的,指的是同样的请求被执行一次与连续执行多次的效果是一样的,服务器的状态也是一样的。换句话说就是,幂等方法不应该具有副作用(统计用途除外)。在正确实现的条件下, {{HTTPMethod("GET")}} , {{HTTPMethod("HEAD")}} , {{HTTPMethod("PUT")}} 和 {{HTTPMethod("DELETE")}} 等方法都是<strong>幂等</strong>的,而 {{HTTPMethod("POST")}} 方法不是。所有的 {{glossary("safe")}} 方法也都是幂等的。</p> |