umccr / htsget-rs

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

replace hyper client with reqwest #244

Closed mmalenic closed 6 months ago

mmalenic commented 6 months ago

The hyper client in UrlStorage should ideally be replaced with reqwest, which has more functionality such as following HTTP redirects. This is useful for properly traversing responses from UrlStorage in contexts that involve load balancers. Previously we transitioned away from reqwest in order to have a smaller/more core library as a dependency. However, now there are additional use cases for having a more feature rich client library in UrlStorage.

This was fixed under the crypt4gh branch here, and could be ported over to main.

Potentially related to #243.