From 4fb7d2e1c0e9e80038148163650f47e69270e80a Mon Sep 17 00:00:00 2001 From: Yves Fischer Date: Tue, 24 Nov 2015 23:24:31 +0100 Subject: Cleanup and solve trailing '/' problem with redirects * Format README as markdown. Mention dependencies * Fix 'timeout' * Run autopep8 on all python sources * Fix unittests * For HEAD requests explicitly allow to follow redirects. This solves the problem if you request: https://server/dir and then the server wants to redirect you to https://server/dir/ This should solve #1 --- README.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 README.md (limited to 'README.md') diff --git a/README.md b/README.md new file mode 100644 index 0000000..703c58e --- /dev/null +++ b/README.md @@ -0,0 +1,29 @@ +# fuse-httpfs + +python-requests based fuse read-only filesystem + +## Usage + +python3 dependencies: + +* requests +* fusepy + +### Mount + +* Create a directory to be used as a mountpoint. +* run with --help + +### Using + +* access the mountpoint +* open directory for schema (http/https) +* open an (maybe non-existing) directoring with the desired hostname + + +Remote machines configure in ~/.netrc will appear automatically. python-requests will pick-up the authentication infos from .netrc + + +## Run the tests + + python3.4 -m unittest test -- cgit v1.2.1