Project

General

Profile

Actions

Bug #1639

closed

Let HTTP 410 have a body

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

Status:
Fixed
Priority:
Normal
Category:
core
Target version:
-
ASK QUESTIONS IN Forums:

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


Files

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

Related issues 1 (0 open1 closed)

Has duplicate Bug #2077: Status code 422 removes bodyDuplicate2009-10-03Actions
Actions #1

Updated by Anonymous over 16 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

Actions #2

Updated by stbuehler over 16 years ago

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

Fixed in r2154 - please test it.

Actions #3

Updated by Anonymous over 16 years ago

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

-- denis.defreyne

Actions

Also available in: Atom