The DAP4 code was improperly handling the use of the "dap4:" protocol in a URL. This PR fixes it by detecting that protocol and doing two actions:
Convert the protocol to "http:".
Add the fragment "#dap4" to end of the URL.
Note that in action 1, this should really be https, but test.opendap.org (a Hyrax server) still accepts only http; one hopes that other servers are setup to redirect http: to https:
re: Issue https://github.com/Unidata/netcdf-java/issues/985
Description of Changes
The DAP4 code was improperly handling the use of the "dap4:" protocol in a URL. This PR fixes it by detecting that protocol and doing two actions:
Note that in action 1, this should really be https, but test.opendap.org (a Hyrax server) still accepts only http; one hopes that other servers are setup to redirect http: to https:
PR Checklist