-
Notifications
You must be signed in to change notification settings - Fork 179
ESGF non-data file serving with datasetScan #381
Comments
Nicolas Carenton ([email protected] The context is that users will browse manually their home dirs which |
GET /thredds/fileServer/IPSLFS/ncarenton/test.html HTTP/1.1 HTTP/1.1 200 OK |
I find this confusing. Are they asking for a different format for catalogs so that the web browser |
They want to use TDS as traditional web server that displays eg html instead of downloading it. |
Ok, I see. Well some access protocols (e.g. opendap) provide html access. I suppose the most straightforward approach is to create a parallel to the current subset service that serves up results in some selected html formats (or xml plus css plus xslt). The problem is agreeing on the result format(s). |
The problem is distinguishing between data files and non-data files in DatasetScan. Data files are correctly dealt with now. Non-data files could be served as a web server would, deciding on their mime-type and then letting the browser decide what to do with it. They should not be served though the various services, as that doesnt work. |
use case: use the TDS of an ESGF node as a web server. assume can distinguish dataset from non-dataset by suffix |
Would it make more sense for tds to pretend to be an FTP server? |
No, they want a web server. On Thu, Feb 4, 2016 at 1:36 PM, DennisHeimbigner [email protected]
|
Ok heres what I have in tdsGlobalConfig:
datasetScan checks suffixes against these by calling AllowedServices.isAThreddsDataset(). (if no matches, than true). if false, then put in direct link to file in HTML. can evolve into fancier, but this should give basic functionality. |
So is this issue finished or does it need more polish? |
ESGF wants to serve files with a datasetScan. The files should display instead of download.
Claim this used to work in 4.3? using httpService with ususal catalog.xml?dataset=id extra indirection, AFAIU. Does not work in 4.6/5.0.
Perhaps add another filter to datasetScan describing files that should be served as files rather than datasets. Then allow
instead of
The text was updated successfully, but these errors were encountered: