Search Mailing List Archives
[bioontology-support] Website behaviour if a URL doesn't exist
mdorf at stanford.edu
Tue May 17 10:38:26 PDT 2016
We do have this issue entered into our bug tracking system, and we do plan to address it at some point. It just hasn't come up to the top of our priority queue yet. Just curious, what is the purpose of your "automated checking" of an ontology URL in BioPortal? Generally speaking, when a process is perceived as "automated", it should be directed to our REST API services, which have a much more consistent validation and HTTP response codes. This same non-existent ontology call does return a 404 from our REST API:
Thank you for checking with us!
On May 17, 2016, at 02:51, Allyson Lister <allyson.lister at oerc.ox.ac.uk<mailto:allyson.lister at oerc.ox.ac.uk>> wrote:
Just wondering about this ticket please? Would be great to know if it's something that isn't planned, or if it might be in the works.
On Tue, 19 Apr 2016 at 14:37 Allyson Lister <allyson.lister at oerc.ox.ac.uk<mailto:allyson.lister at oerc.ox.ac.uk>> wrote:
Our team has noticed that your website gives a 200 error rather than a 404 error if a particular BioPortal URL doesn't exist, e.g. http://bioportal.bioontology.org/ontologies/banana
This makes automated checking a bit difficult as the page will have to be scraped.
Would it be possible to provide a 404 if an ontology isn't found?
Thanks :) Allyson
bioontology-support mailing list
bioontology-support at lists.stanford.edu<mailto:bioontology-support at lists.stanford.edu>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the bioontology-support