sssp-1.1.1: HTTP proxy for S3.

Safe HaskellNone



Utilities for determining the server configuration from environment variables and file input.



line :: Parser (ByteString, ByteString)Source

Recognizes a parseable k = v or k: v style line. It's relatively flexible on input but rejects lines that might have shell interpolations in them -- lines containing one of $`{} -- as well as lines with shell quotes ('"). This allows the file input parser to skip over such values when a raw rc file is loaded.

endpoint :: ByteString -> Maybe ByteStringSource

Interpret a region name, like us-west-1, in accord with the Amazon's documentation for endpoint lcoations.