Bug #1639

Let HTTP 410 have a body

Added by Anonymous about 6 years ago. Updated almost 6 years ago.

Status:FixedStart date:
Priority:NormalDue date:
Assignee:-% 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 Magnifier - Lets HTTP 410s have a body -- denis.defreyne (272 Bytes) Anonymous, 2008-04-14 16:03


Related issues

Duplicated by Bug #2077: Status code 422 removes body Duplicate 2009-10-03

History

#1 Updated by Anonymous about 6 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

#2 Updated by stbuehler almost 6 years ago

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

Fixed in r2154 - please test it.

#3 Updated by Anonymous almost 6 years ago

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

-- denis.defreyne

Also available in: Atom