You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The fact that the latest open-uri.rb in Ruby still has a code to rejects non-HTTP proxy suggests that Ruby does not support https://xxxx/ as a proxy server. (Note that ordinary http proxy servers support https protocol via CONNECT method with http.)
I am not able to fetch taxonomy data.
Bio::NCBI::REST::EFetch.taxonomy(12345, 'xml')
The result:
RuntimeError: Non-HTTP proxy
The reason is that we have to use a http and https proxy. But the method
Bio::Command.start_http_uri
only checks forURI::HTTP
and notURI::HTTPS
.https://github.com/bioruby/bioruby/blob/master/lib/bio/command.rb#L733
With this small fix, the method works for me:
The text was updated successfully, but these errors were encountered: