Bug #1639

Let HTTP 410 have a body

Added by Anonymous over 2 years ago. Updated over 2 years ago.

Status:Fixed Start:
Priority:Normal Due date:
Assigned to:- % Done:

0%

Category:core
Target version:-
Missing in 1.5.x:

Description

Pages that are served with the HTTP 410 (Gone) status code do not have a body.

{{{connections.c}}}, around line 437, needs to have 410 added. See attached patch.

(This was implemented in r1092, but the {{{connections.c}}connections.c} file from the old {{{lighttpd-merge-1.4.x}}lighttpd-merge-1.4.x} branch didn't make it to the current {{{lighttpd-1.4.x}}lighttpd-1.4.x} branch.)

-- denis.defreyne

410.patch - Lets HTTP 410s have a body -- denis.defreyne (272 Bytes) Anonymous, 04/14/2008 04:03 pm


Related issues

duplicated by Bug #2077: Status code 422 removes body Duplicate 10/03/2009

History

Updated by Anonymous over 2 years ago

Apologies—the patch doesn't work as I had expected. I'll have to leave the real deal to the more experienced fellows…

-- denis.defreyne

Updated by stbuehler over 2 years ago

  • Status changed from New to Fixed
  • Resolution set to fixed

Fixed in r2154 - please test it.

Updated by Anonymous over 2 years ago

Nice! http://stoneship.org/blog/ serves a proper 410 now (with non-empty body).

-- denis.defreyne

Also available in: Atom