Rails 状态码

Posted zhuxian300c

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Rails 状态码相关的知识,希望对你有一定的参考价值。

Response Class  HTTP StatusCode   Symbol
Informational   100               :continue
Success         200               :ok
Redirection     300               :multiple_choices
                301               :moved_permanently(重定向)
                304               :not_modified
Client Error    400               :bad_request
                401               :unauthorized
                403               :forbidden
                404               :not_found
Server Error    500               :internal_server_error
                502               :bad_gateway

 

以上是关于Rails 状态码的主要内容,如果未能解决你的问题,请参考以下文章

HTTP状态码webview android, WebViewClient

Rails 渲染头与状态

为 memcached 和 Rails 组合片段和对象缓存的最佳方式

ruby RubySteps 012 - Rails - 迷你框架片段

如何在 Rails 中清理 sql 片段

Rails:旧数据与新数据不匹配时如何更新片段缓存