forked from j62/ctbrec
In case a model is not online, CB returns a default image. We do a HEAD request and check the size of the response. If it is 21971 bytes, we assume that it is the default image and also that the model is offline. The request hits the CDN instead of the main site, so request throttling should not kick in. |
||
---|---|---|
.. | ||
.settings | ||
src | ||
.classpath | ||
.gitignore | ||
.project | ||
pom.xml |