Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
张重言
rails
提交
b1286d39
R
rails
项目概览
张重言
/
rails
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
rails
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
b1286d39
编写于
4月 14, 2013
作者:
C
Chase DuBois
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Align table of HTTP status codes with set supported by current Rack
上级
1ed40d7c
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
8 addition
and
2 deletion
+8
-2
guides/source/layouts_and_rendering.md
guides/source/layouts_and_rendering.md
+8
-2
未找到文件。
guides/source/layouts_and_rendering.md
浏览文件 @
b1286d39
Layouts and Rendering in Rails
==============================
This guide covers the basic layout features of Action Controller and Action View.
This guide covers the basic layout features of Action Controller and Action View.
After reading this guide, you will know:
...
...
@@ -342,6 +342,7 @@ Rails understands both numeric status codes and the corresponding symbols shown
| | 205 | :reset_content |
| | 206 | :partial_content |
| | 207 | :multi_status |
| | 208 | :already_reported |
| | 226 | :im_used |
|
**Redirection**
| 300 | :multiple_choices |
| | 301 | :moved_permanently |
...
...
@@ -351,6 +352,7 @@ Rails understands both numeric status codes and the corresponding symbols shown
| | 305 | :use_proxy |
| | 306 | :reserved |
| | 307 | :temporary_redirect |
| | 308 | :permanent_redirect |
|
**Client Error**
| 400 | :bad_request |
| | 401 | :unauthorized |
| | 402 | :payment_required |
...
...
@@ -369,11 +371,13 @@ Rails understands both numeric status codes and the corresponding symbols shown
| | 415 | :unsupported_media_type |
| | 416 | :requested_range_not_satisfiable |
| | 417 | :expectation_failed |
| | 418 | :i'm_a_teapot |
| | 422 | :unprocessable_entity |
| | 423 | :locked |
| | 424 | :failed_dependency |
| | 426 | :upgrade_required |
| | 423 | :precondition_required |
| | 424 | :too_many_requests |
| | 426 | :request_header_fields_too_large |
|
**Server Error**
| 500 | :internal_server_error |
| | 501 | :not_implemented |
| | 502 | :bad_gateway |
...
...
@@ -382,7 +386,9 @@ Rails understands both numeric status codes and the corresponding symbols shown
| | 505 | :http_version_not_supported |
| | 506 | :variant_also_negotiates |
| | 507 | :insufficient_storage |
| | 508 | :loop_detected |
| | 510 | :not_extended |
| | 511 | :network_authentication_required |
#### Finding Layouts
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录