Getting The Options In A Http Request Status 300
I read that when I get this error I should specify better the url. I assume that I should specify between two displayed or accessible options. How can I do that? In urllib or its t
Solution 1:
The status code 300 is returned from the server to tell you, your request is somehow not complete and you shall be more specific.
Testing the url, I tried to search from http://www.uniprot.org/
and entered into search "P08198". This resulted in page http://www.uniprot.org/uniprot/P08198
telling me
Demerged into Q9HM69, B0R8E4 and P0DME1. [ List ]
To me it seems, the query for some protein is not specific enough as this protein code was split to subcategories or subcodes Q9HM69, B0R8E4 and P0DME1.
Conclusion
Status code 300 is signal from server app, that your request is somehow ambiguous. The way, you can make it specific enough is application specific and has nothing to do with Python
or HTTP
status codes, you have to find more details about good url in the application logic.
Post a Comment for "Getting The Options In A Http Request Status 300"