Opened 15 years ago

Last modified 15 years ago

#2869 new defect

Need a msWriteHTTPHeader() function...

Reported by: sdlime Owned by: sdlime
Priority: normal Milestone: 6.0 release
Component: MapServer CGI Version: unspecified
Severity: normal Keywords:
Cc:

Description

At the moment there are print statements scattered across the mapserv.c and maptemplate.c to output HTTP headers, principally Mime-type. It would be desirable to output other headers such as Content-disposition so you could make the browser deal with output as named file attachments. I've added this capability to the templated output driver for query results but figure it has broader value. We could define a number of format options that could be leveraged in this function.

Steve

Change History (1)

comment:1 by sdlime, 15 years ago

Milestone: 5.4 release6.0 release

Moving to 6.0 since there's no real reason to push on this for 5.6.

Steve

Note: See TracTickets for help on using tickets.