OpenTreeOfLife/phylesystem-api — pull request #105 by jimallman (2014-09-05 23:04:32+00:00)
Title: Prepend missing scheme to oti base URL, if needed.

This correctly handles a scheme-relative URL by prepending 'http:'

Reminder: We typically define all API base URLs as scheme-relative, so that client-side calls will conform to the current scheme (HTTP or HTTPS) used in the browser. Since server-side calls also use these URLs, we need to prepend a proper scheme to avoid errors.