MIT licensed by Jens Petersen
Maintained by

Module documentation for 0.1.4

This version can be pinned in stack with:http-directory-0.1.4@sha256:be7468dd38d88eee1d433b0073a640bb19d6e815571549c9ae8059fcd9e7db33,1701


Hackage MIT license Stackage Lts Stackage Nightly Build status

A simple library for reading http directories.

It uses http-client for http transport, and html-conduit and xml-conduit to parse the html for links.

The library is intended for listing the files in http file directories, but since http directories are just html pages it can actually be used to list the links (href’s) on any html webpage.

See an example and the haddock documentation for usage.



http-directory uses PVP Versioning.

0.1.4 (2019-06-xx)

  • add httpRawDirectory
  • httpDirectory now filters out absolutes hrefs and sort links
  • add httpDirectory’ and httpRedirect’ variants with own Manager

0.1.3 (2019-06-04)

  • add httpExists

0.1.2 (2019-05-07)

  • add httpManager convenient function
  • print url when result not 200
  • add an example

0.1.1 (2019-04-14)

  • add httpLastModified

0.1.0 (2019-04-11)

  • initial release with httpDirectory, httpFileSize, and httpRedirect(s)
comments powered byDisqus