Make network request return ByteString
authorJaseem Abid <jaseemabid@gmail.com>
Sun, 15 Mar 2015 18:34:10 +0000 (00:04 +0530)
committerJaseem Abid <jaseemabid@gmail.com>
Sun, 15 Mar 2015 18:37:11 +0000 (00:07 +0530)
commitb601c68ab17e5d8bd908f30f624fb385a1a67d2f
tree826be1b89b5d08ba0415f772069d887e9b40a32c
parent5bce708860df78c8e3ef78385e3ff5fa0e568680
Make network request return ByteString

Packing and unpacking curropted the binary data in several occations
when the network response was written to disk for caching/testing.

Add support for local caches. This aids in testing, and throttling
remote requests if the file is new enough.

Removes unwanted <$>
functorrent.cabal
src/Main.hs
src/Tracker.hs