http-trace-0.1.1.1: Tracking http redirects

Safe HaskellNone
LanguageHaskell2010

Http.Trace

Synopsis

Documentation

traceRedirects Source

Arguments

:: String

Starting url

-> IO [String]

List of available redirects

Function to get all redirects for provided url in form of full link Search throught LOCATION meta, head and body tags

traceRedirectsTLD Source

Arguments

:: String

Starting url

-> Bool

Flag to remove duplicate domains

-> IO [String]

List of available redirects

Alternative to traceRedrects that returns top-level domain names without full url path. With compress functionality can show only distinct domains without repetition.

isReachable Source

Arguments

:: String

Statring url

-> String

Destination url

-> IO Bool

Flag whether url reached

Checks if we redirects paths lead to destination url