Commit Graph

19 Commits

Author SHA1 Message Date
Daniel Gultsch
6d8993145b Merge branch 'master' of github.com:siacs/HttpUploadComponent 2015-07-24 17:48:14 +02:00
Daniel Gultsch
96b39250b2 fixed small files not working 2015-07-24 17:46:32 +02:00
Daniel Gultsch
2678c0d2b8 Merge pull request #16 from SamWhited/head_fix
Don't duplicate HEAD/GET response code
2015-07-23 10:02:20 +02:00
Daniel Gultsch
bd4e1e4c5a Merge pull request #15 from SamWhited/mime_types
Set content-type header based on mime-type
2015-07-23 10:01:57 +02:00
Daniel Gultsch
db06e3edfc Merge pull request #14 from SamWhited/fix_file_leak
Fix a file handle leak
2015-07-23 10:01:30 +02:00
Sam Whited
5a0566688a Don't duplicate HEAD/GET response code 2015-07-23 00:43:36 -05:00
Sam Whited
63124a3026 Set content-type header based on mime-type
Fixes #7
2015-07-22 22:42:28 -05:00
Sam Whited
f397219c27 Fix a file handle leak 2015-07-22 22:21:28 -05:00
Sam Whited
50f0a6fec6 Add proper error for FileNotFoundError in Python 2 2015-07-22 22:10:52 -05:00
Sam Whited
f8bc7c6242 Make HTTP address configurable 2015-07-22 01:15:39 -05:00
Lars Bensmann
c3b41b2415 Make configfile and logfile configurable via commandline options
Use argparse to parse --config und --logfile so it can be better used from
a startup script.

Add Debian startup-script in contrib/
2015-07-18 14:04:17 +02:00
Daniel Gultsch
8bd4ad6803 optional ssl support (recommended) 2015-07-10 14:28:59 +02:00
Daniel Gultsch
c09664797d some security patches and further python 2 compat
Thank you Lars Bensmann
2015-07-09 08:52:48 +02:00
Daniel Gultsch
ac12bf5c54 Merge pull request #6 from SamWhited/hashbang
Add a hashbang
2015-07-04 23:36:32 +02:00
Sam Whited
1f66775c81 File handling tweaks
Fix vulnerability where a specially crafted path could lead to the user
accessing things in the root file directory
2015-07-04 16:27:00 -05:00
Sam Whited
d917a9eb18 Add a hashbang 2015-07-04 14:41:45 -05:00
Sam Whited
683775d6dd Add a systemd init script 2015-07-04 13:45:27 -05:00
Sam Whited
af00bb7562 Add Python 2 support
Add requirements file for reproducible builds
2015-07-04 13:28:52 -05:00
Daniel Gultsch
3b341972b0 inital commit 2015-06-28 11:21:30 +02:00