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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Letharion’s picture

Status: Active » Needs review
FileSize
1.65 KB

First attempt at patch.

merlinofchaos’s picture

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.

Letharion’s picture

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.

merlinofchaos’s picture

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.

Anonymous’s picture

Issue summary: View changes

It's response code, not selection rule.

jedihe’s picture

Just backported the patch from #3 to D6 Ctools. Did it on top of 6.x-1.10.