wtsi-npg / npg_ranger

NGS data streaming (sam, bam, cram, vcf) - pre-production
Other
4 stars 6 forks source link

Updating to Node 10 #213

Open GrishaH opened 5 years ago

GrishaH commented 5 years ago

Trying to update htsget to Node 10 (or 12) creates the error: [ERR_HTTP_TRAILER_INVALID]: Trailers are invalid with this transfer encoding

The reasoning for this error would usually be that the transfer encoding does not support trailers, with 'chunked' being the encoding method that does. This is peculiar as chunked encoding is meant to be implicitly set unless stated otherwise, but some default values must differ between Node 8 to 10 to break this.