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 , 16 years ago
Status: | new → assigned |
---|
comment:2 by , 16 years ago
Component: | MapServer CGI → MapServer 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 , 16 years ago
Owner: | changed from | to
---|---|
Status: | assigned → new |
comment:4 by , 16 years ago
Status: | new → assigned |
---|
comment:5 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
- created new commandline page in the CGI Reference doc
Working on this as a side-effect of RFC 36 implementation work.
Steve