Opened 5 weeks ago

Closed 3 weeks ago

#2842 closed defect (fixed)

return correct headers for plain text WCPS results

Reported by: Dimitar Misev Owned by: Bang Pham Huu
Priority: major Milestone:
Component: petascope Version: 10.4
Keywords: Cc:
Complexity: Medium

Description

A WCPS query like avg($c) returns plain text response, but in the headers there are a few problems:

'File-name': 'NIR.text/xml'
'Content-disposition': 'inline; filename=NIR.text/xml'
'Content-Type': ''

These should be

'File-name': 'NIR.txt'
'Content-disposition': 'inline; filename=NIR.txt'
'Content-Type': 'text/plain'

Change History (1)

comment:1 by Bang Pham Huu, 3 weeks ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.