Skip to content
This repository has been archived by the owner on Oct 2, 2020. It is now read-only.

Check for datasheet URL HTTP status code #240

Open
Ratfink opened this issue May 11, 2018 · 0 comments
Open

Check for datasheet URL HTTP status code #240

Ratfink opened this issue May 11, 2018 · 0 comments

Comments

@Ratfink
Copy link
Collaborator

Ratfink commented May 11, 2018

It would be nice to have a script to check the HTTP status code returned for symbols' datasheet URLs. This could make HTTP HEAD requests for the URLs in the .dcm file, and give errors and warnings as appropriate for the different codes. It could even have an option to update URLs that return permanent redirects.

How should such a script be implemented? It doesn't seem inappropriate for the normal symbol checking scripts, except I don't think the framework for that is designed to handle potentially slow network I/O. Would a separate script be preferred, at least in the short term?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant