Nick Craig-Wood
be4ed14525
rest: rename URLEscape to URLPathEscape for consistency with go1.8
2018-01-05 15:55:43 +00:00
Nick Craig-Wood
4966611866
rest: factor URLJoin and URLEscape from http remote
2017-10-09 16:19:37 +01:00
Stefan Breunig
323daae63e
http: immediately fail streaming uploads instead of spooling them first (see #1614 )
2017-08-19 12:42:31 +02:00
Nick Craig-Wood
20ae7d562b
fs: Add CanHaveEmptyDirectories and BucketBased feature flags to all remotes
2017-08-09 20:55:08 +01:00
Nick Craig-Wood
6d59887487
Fix URL encoding issues - fixes #1573
...
This fixes the confusion between paths which were URL encoded and
paths which weren't. In particular it allows files to have % in the
name.
2017-08-02 13:19:36 +01:00
Nick Craig-Wood
214f5e6411
http: only run the tests on go1.8+
2017-08-01 12:38:29 +01:00
Nick Craig-Wood
2b5ce6ef51
http: Fix directories with : in #1555
2017-07-31 23:15:31 +01:00
Nick Craig-Wood
b0fd187cba
http: fix panic with url encoded content - fixes #1565
...
This fixes the issue which caused the panic (carrying on after an
error) and the issue which caused the error (double unescaping the
URL).
2017-07-30 23:16:32 +01:00
Nick Craig-Wood
e7d04fc103
Create fs.Directory interface and use it everywhere
2017-06-30 14:26:59 +01:00
Nick Craig-Wood
b22c4c4307
http: fix, tidy and rework ready for release
...
* Fix remaining problems
* Refactor to make testing easier and add a test suite
* Make path parsing more robust.
* Add single file operations
* Add MimeType reading for objects
* Add documentation
* Note go1.7+ is required to build
2017-06-20 21:27:14 +01:00
Nick Craig-Wood
afc8cc550a
http: Update interfaces for List/ListR/Put/Update
2017-06-20 21:27:14 +01:00
Vasiliy Tolstov
83b642e98f
fix for caddy web server
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2017-06-20 21:27:14 +01:00
Nick Craig-Wood
d5d635b7f3
http: Fix comments, remove optional methods which don't work
2017-06-20 21:27:14 +01:00
Vasiliy Tolstov
6b89e6c381
add new http remote filesystem
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2017-06-20 21:27:14 +01:00