Alf*_*Alf 6 cookies ruby-on-rails http session-cookies ruby-on-rails-4
我想知道request_method在Rails 4应用程序的每个cookie中找到的值的目的是什么.
$ curl -i localhost:3000
HTTP/1.1 200 OK
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 1; mode=block
X-Content-Type-Options: nosniff
X-Ua-Compatible: chrome=1
Content-Type: text/html; charset=utf-8
Etag: "396b1283ee1adc85adf3c604a553ad74"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: d8577072-a823-418c-b521-6c34dbe71645
X-Runtime: 0.068436
Server: WEBrick/1.3.1 (Ruby/2.0.0/2013-06-27)
Date: Wed, 04 Dec 2013 21:16:38 GMT
Content-Length: 4375
Connection: Keep-Alive
Set-Cookie: request_method=GET; path=/
...
Run Code Online (Sandbox Code Playgroud)
我用谷歌搜索了它,在任何地方都找不到答案.为什么不直接使用会话值?
| 归档时间: |
|
| 查看次数: |
1240 次 |
| 最近记录: |