一个return处理的问题 #35
Labels
No Label
bug
doc
duplicate
enhancement
help wanted
invalid
question
testing
wait_for_investigate
wontfix
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: lunny/tango#35
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Author: @qjebbs
在文件
return.go
中有这样一段:如果有个action 是这样写的:
返回的却是
200
,而终端里会提示http: multiple response.WriteHeader calls
。Author: @qjebbs
上一段描述的是没有嵌入
tango.Ctx
的情况,如果嵌入了tango.Ctx
,在action里return err
(没有状态码),返回的是200 OK
。这好像也不合理