Ringo Hoffmann
2889239999
inhibit stream close on request
2022-01-22 12:29:02 +01:00
Jarek Kowalski
741fdbda3d
added ReadStreamRange() method to efficiently read a range of data
...
It passes "Range: bytes=X-Y" and if the server returns HTTP 206,
we know it complied with the request.
For servers that don't understand range and return HTTP 200 instead we
discard some bytes and limit the result to emulate this behavior.
This will greatly help https://github.com/kopia/kopia which relies on
partial reads from pack blobs.
2021-11-04 23:32:32 -07:00
Marcel Blijleven
a2cbdfa976
Fix index out of range runtime error when provided string is empty
2021-09-17 13:24:28 +02:00
Marcel Blijleven
9a1ba21162
Fix typo in description
2021-09-17 13:23:09 +02:00
Christoph Polcin
375f391c8a
Escape URL
2018-05-23 13:41:06 +02:00
Christoph Polcin
732590873e
docs
2018-05-16 14:05:18 +02:00
Aaron Bieber
beeefa572c
more docs / cleanup
2018-05-16 10:42:53 +02:00
Christoph Polcin
e02560544b
add utils.newPathErrorErr
2014-10-24 14:09:50 +02:00
Christoph Polcin
f728828956
ReadDir will fail on non collections
2014-10-24 12:39:35 +02:00
Christoph Polcin
eb64a8f4bd
uses newPathError
2014-10-24 11:38:11 +02:00
Christoph Polcin
0e13808b71
add utils.log
2014-10-24 11:25:28 +02:00
Christoph Polcin
73f473fc51
add utils.newPathError
2014-10-24 11:25:17 +02:00
Christoph Polcin
7caa8c8b7d
fix slashes
2014-10-23 14:26:08 +02:00
Christoph Polcin
d4b8ebb4b2
implement Remove
2014-10-23 14:10:31 +02:00
Christoph Polcin
48d4d0ff90
refactor list into ReadDir and use os.FileInfo
2014-10-23 13:15:02 +02:00
Christoph Polcin
542e8e73bc
refactor func parseXML
2014-10-23 11:29:26 +02:00
Christoph Polcin
95f1f68142
add initial source
2014-10-23 10:39:55 +02:00