umccr / htsget-rs

A server implementation of the htsget protocol for bioinformatics in Rust
https://samtools.github.io/hts-specs/htsget.html
MIT License
40 stars 9 forks source link

feat: URL storage #176

Closed mmalenic closed 1 year ago

mmalenic commented 1 year ago

Closes #165.

This PR implements an additional storage backend called UrlStorage, which can fetch data from HTTP URLs. With UrlStorage, when htsget-rs receives a query, it will fetch data for the request from a HTTP URL, forwarding any headers received in the query. To implement this, a new feature flag is included called url-storage.

Changes

Bug fixes