EarthSystemCoG / COG

COG source code
BSD 3-Clause "New" or "Revised" License
8 stars 16 forks source link

URI too long for wget.sh generation from data cart #1289

Closed cofinoa closed 7 years ago

cofinoa commented 8 years ago

When users wants to generate a wget.sh for a large collection of datasets the request URI for the esgf-search is too long.

cofinoa commented 8 years ago

The request must be done using a POST request instead a GET.

LucaCinquini commented 8 years ago

CoG has been switched to using POST when issuing a request to esg-search to create a wget scripts. But for this to work, the esg-search service needs to have been updated to reflect this issue: https://github.com/ESGF/esg-search/issues/97

So, for now, we will keep the CoG code in place but still issue GET requests, until ALL ESGF nodes have been updated to use the esg-search release 4.9.1 or later.

LucaCinquini commented 8 years ago

When the time comes, the code to be uncommented is contained in file _wget_js.html ( in function wgetScript() ).

LucaCinquini commented 7 years ago

Moving to CoG release 3.9 to allow for all ESGF nodes to update their esg-search first.

LucaCinquini commented 7 years ago

Now switching CoG to issue POST requests.