RedHat have started requiring both a html and a json to display CVEs
authorMagnus Hagander <magnus@hagander.net>
Thu, 14 May 2020 20:05:13 +0000 (22:05 +0200)
committerMagnus Hagander <magnus@hagander.net>
Thu, 14 May 2020 20:06:04 +0000 (22:06 +0200)
commit5a7abf05d6cb2f61394b0dafb4e739b61e4eb1e6
treefbd1e360a64ee1eda26d8cc8af661f9ecdfa647f
parent91415caae237614db05b98a0a7d3bd03e599c619
RedHat have started requiring both a html and a json to display CVEs

And dumb as it is they return "200 OK" on the CVE *page* even if the CVE
doesn't exist. So we have to poll both the page and the API call in
order to figure out if it's actually there.
pgweb/security/management/commands/update_cve_links.py