NCEAS / metadig-checks

MetaDIG suites and checks for data and metadata improvement and guidance.
Apache License 2.0
9 stars 9 forks source link

Follow HTTP status codes 301 302 on resolvable URL requests #369

Open gothub opened 4 years ago

gothub commented 4 years ago

Several checks use the metadig python library isResolvable() function to check if a URL points to a resource that is available, and so will score a check using this function as 'failed' if the resource has been moved and the requested URL returns an HTTP 301 or 302 status code.

The behaviour of the following checks will change when the python library is updated to follow the 'moved' URL provided in the 301, 302 response headers.

Here is the relevant issue for the metadig python library: https://github.com/NCEAS/metadig-py/issues/3

gothub commented 4 years ago

The following checks will be affected by the updated library: