[Biopython-dev] [Biopython (old issues only) - Bug #3411] (Resolved) 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
Fri Jul 22 20:09:03 UTC 2016


Issue #3411 has been updated by Travis Wrightsman.

Status changed from New to Resolved
% Done changed from 0 to 100

Fix applied.

----------------------------------------
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#change-15303

* Author: Tom McCoy
* Status: Resolved
* 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.


---Files--------------------------------
efetch.patch (245 Bytes)


-- 
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.open-bio.org/pipermail/biopython-dev/attachments/20160722/43a79d1d/attachment.html>


More information about the Biopython-dev mailing list