[Biopython-dev] [Biopython - Bug #3411] Bio.Entrez.efetch does not respect the API docs / spec on HTTP verb use (GET vs. POST)

redmine at redmine.open-bio.org redmine at redmine.open-bio.org
Thu Feb 7 10:20:30 UTC 2013


Issue #3411 has been updated by Peter Cock.

Assignee set to Biopython Dev Mailing List

I don't recall that guideline being in the earlier requirements/documentation when Bio.Entrez was first written, but the fix proposed looks sensible.

(Note - do we need to worry about the ids being a string or a list at that point, and therefore how to count the entries?)

P.S. Resetting assignee to default of the dev mailing list.
----------------------------------------
Bug #3411: Bio.Entrez.efetch does not respect the API docs / spec on HTTP verb use (GET vs. POST)
https://redmine.open-bio.org/issues/3411

Author: Tom McCoy
Status: New
Priority: Normal
Assignee: Biopython Dev Mailing List
Category: 
Target version: 
URL: 


"Either a single UID or a comma-delimited list of UIDs may be provided. All of the UIDs must be from the database specified by db. There is no set maximum for the number of UIDs that can be passed to EFetch, *but if more than about 200 UIDs are to be provided, the request should be made using the HTTP POST method*."
-- http://www.ncbi.nlm.nih.gov/books/NBK25499/#chapter4.EFetch

Entrez.efetch uses this API endpoint via GET regardless of the number of UIDs supplied. The attached patch corrects this behavior.



-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here and login: http://redmine.open-bio.org




More information about the Biopython-dev mailing list