Project

General

Profile

Bug #1639

Let HTTP 410 have a body

Added by Anonymous about 8 years ago. Updated about 8 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
core
Target version:
-
Start date:
Due date:
% Done:

0%

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 View - 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

Associated revisions

Revision ac92ea36 (diff)
Added by stbuehler about 8 years ago

Allow all http status codes by default; disable body only for 204,205 and 304; generate error pages for 4xx and 5xx (#1639)

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2154 152afb58-edef-0310-8abb-c4023f1b3aa9

History

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

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

Fixed in r2154 - please test it.

#3 Updated by Anonymous about 8 years ago

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

-- denis.defreyne

Also available in: Atom