[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
Sat Feb 9 08:22:31 UTC 2013


Issue #3411 has been updated by Michiel de Hoon.


Fixed (using a slightly different code); see revision f1836165.
----------------------------------------
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