Opened 16 years ago

Closed 16 years ago

#2594 closed defect (fixed)

Add an option to mapserv (CGI) to suppress HTTP header output...

Reported by: sdlime Owned by: jmckenna
Priority: normal Milestone: 5.2 release
Component: Documentation - MapServer Version: svn-trunk (development)
Severity: normal Keywords:
Cc:

Description

This would allow you to run the CGI interface from the command line. You can already to that using ./mapserv "QUERY_STRING=..." but the output includes the HTTP headers so you can't use the output of something with mode=map or any of the other image producing modes. Even query output would need to be stripped of the headers.

Steve

Change History (5)

comment:1 by sdlime, 16 years ago

Status: newassigned

Working on this as a side-effect of RFC 36 implementation work.

Steve

comment:2 by sdlime, 16 years ago

Component: MapServer CGIMapServer Documentation

This works now in the main development trunk. The command-line switch is -nh (no headers) and it works for queries, browse templates and all image modes. I still need to do a bit of work in maptemplate.c w/respect to RFC 36 but for all intensive purposes this is complete. Moving to documentation component.

Steve

comment:3 by jmckenna, 16 years ago

Owner: changed from sdlime to jmckenna
Status: assignednew

comment:4 by jmckenna, 16 years ago

Status: newassigned

comment:5 by jmckenna, 16 years ago

Resolution: fixed
Status: assignedclosed
  • created new commandline page in the CGI Reference doc
Note: See TracTickets for help on using tickets.