MIT licensed by Jens Petersen
Maintained by [email protected]
This version can be pinned in stack with:http-directory-0.1.2@sha256:2f3f210773d9b7a170013c6a0fce59b4f8d0b2d2d4570163f643cf8a15167590,1642

Module documentation for 0.1.2

  • Network
    • Network.HTTP
      • Network.HTTP.Directory

http-directory

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.

Changes

Changelog

http-directory uses PVP Versioning.

0.1.2

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

0.1.1

  • add httpLastModified

0.1.0

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