Ticket #1639 (closed defect: fixed)

Opened 5 months ago

Last modified 4 months ago

Let HTTP 410 have a body

Reported by: denis.defreyne@… Owned by: jan
Priority: normal Milestone:
Component: core Version: 1.4.19
Severity: normal Keywords:
Cc: Blocked By:
Need User Feedback: no Blocking:

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 [1092], but the connections.c file from the old lighttpd-merge-1.4.x branch didn't make it to the current lighttpd-1.4.x branch.)

Attachments

410.patch (272 bytes) - added by denis.defreyne@… 5 months ago.
Lets HTTP 410s have a body

Change History

Changed 5 months ago by denis.defreyne@…

Lets HTTP 410s have a body

Changed 5 months ago by denis.defreyne@…

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

Changed 4 months ago by stbuehler

  • status changed from new to closed
  • resolution set to fixed

Fixed in [2154] - please test it.

Changed 4 months ago by denis.defreyne@…

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

Add/Change #1639 (Let HTTP 410 have a body)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.