summaryrefslogtreecommitdiff
path: root/src/Network/BitTorrent/Tracker
diff options
context:
space:
mode:
authorSam Truzjan <pxqr.sta@gmail.com>2013-12-13 14:05:00 +0400
committerSam Truzjan <pxqr.sta@gmail.com>2013-12-13 14:05:00 +0400
commit2027b99f7a12986c6c0cb9d3205e0893fba17c9a (patch)
tree042e0471bcfc4a125ce479dff17df4fc89aee008 /src/Network/BitTorrent/Tracker
parent8ddb71a490ec862d1df626b7eb9300d9ddb782f3 (diff)
Update client example
Diffstat (limited to 'src/Network/BitTorrent/Tracker')
-rw-r--r--src/Network/BitTorrent/Tracker/Wai.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Network/BitTorrent/Tracker/Wai.hs b/src/Network/BitTorrent/Tracker/Wai.hs
index c43c7a3a..69510fa0 100644
--- a/src/Network/BitTorrent/Tracker/Wai.hs
+++ b/src/Network/BitTorrent/Tracker/Wai.hs
@@ -79,7 +79,7 @@ getAnnounceR = undefined
79getScrapeR :: TrackerSettings -> ScrapeQuery -> ResourceT IO ScrapeInfo 79getScrapeR :: TrackerSettings -> ScrapeQuery -> ResourceT IO ScrapeInfo
80getScrapeR = undefined 80getScrapeR = undefined
81 81
82-- content-type: "text/plain" ? 82-- content-type: "text/plain"!
83tracker :: TrackerSettings -> Application 83tracker :: TrackerSettings -> Application
84tracker settings Request {..} 84tracker settings Request {..}
85 | requestMethod /= methodGet 85 | requestMethod /= methodGet