Opened 15 years ago

Closed 15 years ago

Last modified 5 years ago

#1966 defect closed fixed (fixed)

web2 static.Data forgets to include a Content-Type header.

Reported by: yacc Owned by:
Priority: highest Milestone:
Component: web2 Keywords: web2, static, Data
Cc: Branch:
Author:

Description

web2 static.Data forgets to include a Content-Type header.

static.data.render does not include the Content-Type in the Response it returns.

Attached small patch fixes that.

Attachments (2)

static-data-content-type.patch (4.6 KB) - added by yacc 15 years ago.
static-data.patch (2.8 KB) - added by Jean-Paul Calderone 15 years ago.
minor changes, mostly reformatting

Download all attachments as: .zip

Change History (6)

Changed 15 years ago by yacc

Changed 15 years ago by Jean-Paul Calderone

Attachment: static-data.patch added

minor changes, mostly reformatting

comment:1 Changed 15 years ago by Jean-Paul Calderone

Keywords: review added
Priority: normalhighest

Page I just uploaded looks good to me, I think it should be applied.

comment:2 Changed 15 years ago by Jean-Paul Calderone

Resolution: fixed
Status: newclosed

(In [17717]) Apply yacc's static.Data/Content-Type patch

Author: yacc Reviewer: dreid Fixes #1966

This fixes static.Data so that it emits a Content-Type header. It also adds tests for this behavior.

comment:3 Changed 11 years ago by <automation>

Owner: jknight deleted

comment:4 Changed 5 years ago by hawkowl

Keywords: review removed

[mass edit] Removing review from closed tickets.

Note: See TracTickets for help on using tickets.