diff options
author | Sam Truzjan <pxqr.sta@gmail.com> | 2013-12-13 14:05:00 +0400 |
---|---|---|
committer | Sam Truzjan <pxqr.sta@gmail.com> | 2013-12-13 14:05:00 +0400 |
commit | 2027b99f7a12986c6c0cb9d3205e0893fba17c9a (patch) | |
tree | 042e0471bcfc4a125ce479dff17df4fc89aee008 /src/Network/BitTorrent/Tracker | |
parent | 8ddb71a490ec862d1df626b7eb9300d9ddb782f3 (diff) |
Update client example
Diffstat (limited to 'src/Network/BitTorrent/Tracker')
-rw-r--r-- | src/Network/BitTorrent/Tracker/Wai.hs | 2 |
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 | |||
79 | getScrapeR :: TrackerSettings -> ScrapeQuery -> ResourceT IO ScrapeInfo | 79 | getScrapeR :: TrackerSettings -> ScrapeQuery -> ResourceT IO ScrapeInfo |
80 | getScrapeR = undefined | 80 | getScrapeR = undefined |
81 | 81 | ||
82 | -- content-type: "text/plain" ? | 82 | -- content-type: "text/plain"! |
83 | tracker :: TrackerSettings -> Application | 83 | tracker :: TrackerSettings -> Application |
84 | tracker settings Request {..} | 84 | tracker settings Request {..} |
85 | | requestMethod /= methodGet | 85 | | requestMethod /= methodGet |