checking list of redirect with user-agent
stack build
stack exec checker-exe user-agent filename
stack exec checker-exe iPhone sp.txt
- sp.txt [from to]
http://example.com http://example.com/sp
http://sample.jp http://sample.jp/sp
...
- result
- success
All OK!
- fail
error message error message ...
stack exec checker-exe Macintosh pc.txt
- pc.txt [from to]
http://example.com/sp http://example.com
http://sample.jp/sp http://sample.jp
...
- result: Same as PC to SP