Closed tgulacsi closed 8 years ago
Thanks for the PR! I'll review shortly. I've been working on https://github.com/lox/patchwork to solve this, but @djherbis's stream will do the trick too.
Could I trouble you to split the vendor/
deps out into another PR? I'm going to move https://github.com/Masterminds/glide shortly.
Ok, two new PRs coming!
Use gopkg.in/djherbis/stream.v1 to allow concurrent writing of the upstream response to downstream and conditionally reading it into the cache. Fixes #20.