Avoid redirecting POST wget requests
LucaCinquini opened this issue · 1 comments
LucaCinquini commented
Who: Luca
Currently, POST wget requests to http://<host_name>/esg-search/wget
(with no query parameters) will be redirected to GET requests of the form:
http://<host_name>/esg-search/wget?limit=1&distrib=false
This prevents clients such as CoG to submit POST requests to create wget scripts
LucaCinquini commented
Fixed - now the redirect will take place only for GET requests with no query parameters (to prevent creation of huge wget scripts).