You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When returning a ComplexOutput as Reference (output as_reference is True), the filename generated by the server (and used in the built URL) is always "input", eg "input.csv" for a "txt/csv" output, or "input.xml" for an "application/xml" output. This is misleading to users as this is actually the Output file.
After some digging through the sourcecode, I found where that name is set:
Description
When returning a ComplexOutput as Reference (output as_reference is True), the filename generated by the server (and used in the built URL) is always "input", eg "input.csv" for a "txt/csv" output, or "input.xml" for an "application/xml" output. This is misleading to users as this is actually the Output file.
After some digging through the sourcecode, I found where that name is set:
pywps/pywps/inout/basic.py
Lines 271 to 276 in d0bb978
It appears there is no way to set this name on the ComlexOutput object, or on the FileStorage object or on the DataHandler object.
Environment
The text was updated successfully, but these errors were encountered: