Opened 6 months ago

Closed 6 months ago

#1421 closed defect (fixed)

Petacope_Display output in GML/PNG/JPG instead of download

Reported by: bphamhuu Owned by: bphamhuu
Priority: major Milestone: 9.3
Component: petascope Version: development
Keywords: Requested download GML/PNG/JPG Cc: dmisev, pbaumann
Complexity: Medium

Description

Currently, with WCS request (GetCoverage/DescribeCoverage?) or WCPS output in WebBrowser? address in any MIME format, it will download the output instead of displaying for some known format (GML/PNG/JPG). It should display these output in WebBrowser? as before.

Change History (2)

comment:1 Changed 6 months ago by bphamhuu

ok, the error behavior due to I set the default behavior in response header "attachment" then it will download the file instead of trying to display it, it should be "Content-disposition", "inline;

comment:2 Changed 6 months ago by bphamhuu

  • Resolution set to fixed
  • Status changed from new to closed

patch was accepted, close ticket.

Note: See TracTickets for help on using tickets.