Opened 5 days ago

#2842 assigned defect

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 (0)

Note: See TracTickets for help on using tickets.