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

修改评论时 404 #330

Closed
tiye opened this issue Jul 19, 2014 · 5 comments
Closed

修改评论时 404 #330

tiye opened this issue Jul 19, 2014 · 5 comments

Comments

@tiye
Copy link

tiye commented Jul 19, 2014

Remote Address:122.226.207.19:443
Request URL:https://ruby-china.org/topics/20452/replies/216957/edit
Request Method:POST
Status Code:404 Not Found

Request Headers

:host:ruby-china.org
:method:POST
:path:/topics/20452/replies/216957/edit
:scheme:https
:version:HTTP/1.1
accept:text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
accept-encoding:gzip,deflate
accept-language:zh-CN,zh;q=0.8,en;q=0.6
cache-control:max-age=0
content-length:383
content-type:application/x-www-form-urlencoded
cookie: (此处省略)
__utma=34396194.1488729464.1401966303.1405747507.1405782273.85; __utmb=34396194.54.9.1405784547940; __utmc=34396194; __utmz=34396194.1401966303.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)
origin:https://ruby-china.org
referer:https://ruby-china.org/topics/20452/replies/216957/edit
user-agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.20 Safari/537.36
x-devtools-emulate-network-conditions-client-id:93F792EB-DEAE-AB1E-D494-AEAE2231751C

Form Dataview sourceview URL encoded

utf8:✓
_method:patch
authenticity_token:3wMBSoU3E+/g0IwBPqhb22VnGLSzO2G2o/ljQLGyXUI=
reply[body]:~~报名..~~(不好意思看错时间..)
Ruby China 啥时候内部集成个报名系统...
commit:保存

Response Headers

content-length:4301
content-type:text/html; charset=utf-8
date:Sat, 19 Jul 2014 15:42:34 GMT
server:nginx/1.6.0
status:404 Not Found
strict-transport-security:max-age=31536000
version:HTTP/1.1
x-request-id:6bd93fdd-c3b8-462a-ac84-563aa93d028c
x-runtime:0.004900
@songjiayang
Copy link
Contributor

@jiyinyiyong 貌似修改动作应该是执行put请求吧,https://ruby-china.org/topics/20452/replies/216957/edit 这个请求地址不太对哦

@tiye
Copy link
Author

tiye commented Jul 20, 2014

@songjiayang 网页版默认的行为, 不是手动操作的. 提交了 5 此, 其中居然一次是对的... 很奇怪

@songjiayang
Copy link
Contributor

@jiyinyiyong o,那这个可能真的有问题了,只是我本地无法重现这个问题,

@zlx
Copy link
Contributor

zlx commented Jul 25, 2014

@songjiayang 请求是对的加了这个 _method:patch, 参见 Doing a HTTP PUT from a browser
@jiyinyiyong 你编辑的这条回复是不是已经删除了?

@tiye
Copy link
Author

tiye commented Jul 25, 2014

@huacnlee huacnlee closed this as completed May 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants