The 410 gone code would be a useful response code in PM, for example for highly time-sensitive content that needs to "go away" when it's no longer relevant.

Setting to 7.x as I'm not sure if the PM will actually need D8 porting.

Files: 
CommentFileSizeAuthor
#3 1722068_3_add_410_gone_response_code.patch1.59 KBLetharion
PASSED: [[SimpleTest]]: [MySQL] 67 pass(es).
[ View ]
#1 1722068_1_add_410_gone_response_code.patch1.65 KBLetharion
PASSED: [[SimpleTest]]: [MySQL] 60 pass(es).
[ View ]

Comments

Status:Active» Needs review
StatusFileSize
new1.65 KB
PASSED: [[SimpleTest]]: [MySQL] 60 pass(es).
[ View ]

First attempt at patch.

I don't think 410 should be at the top of the list. It's not used often, I'd put it at the end of the list.

StatusFileSize
new1.59 KB
PASSED: [[SimpleTest]]: [MySQL] 67 pass(es).
[ View ]

Y U NO FIND MY USE-CAZE TEH BEST?

;)

I moved the implementation down to the last of the 4xx's, but wanted to keep them together, I hope you agree with that. Will of course move it all the way down if that's preferred.

In the declaration, I kept the order, as otherwise I would break the nice descending sort.

Status:Needs review» Fixed

Well, I meant on the visible list. I rearranged that and pushed.

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Issue summary:View changes

It's response code, not selection rule.