Bug #1639

Let HTTP 410 have a body

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

Status:FixedStart date:
Priority:NormalDue date:
Assignee:-% Done:


Target version:-
Missing in 1.5.x:


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


#1 Updated by Anonymous over 7 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 over 7 years ago

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

Fixed in r2154 - please test it.

#3 Updated by Anonymous over 7 years ago

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

-- denis.defreyne

Also available in: Atom