diff options
author | drebs <drebs@leap.se> | 2017-12-19 18:00:23 -0200 |
---|---|---|
committer | drebs <drebs@leap.se> | 2017-12-26 09:04:50 -0200 |
commit | 5a3d6cd05e8f12aba2527b2d711cd0aa7a27f3e8 (patch) | |
tree | b2f0b7b55feda0f3cd7ddd1e97a0975f2c1af794 /src/leap/soledad/server/_blobs/errors.py | |
parent | 0cf535b26c8989a60df646f64dfcb14b59de1a86 (diff) |
[feature] add ranges to blobs backend
Diffstat (limited to 'src/leap/soledad/server/_blobs/errors.py')
-rw-r--r-- | src/leap/soledad/server/_blobs/errors.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/leap/soledad/server/_blobs/errors.py b/src/leap/soledad/server/_blobs/errors.py index 8c1c532e..0cd2059f 100644 --- a/src/leap/soledad/server/_blobs/errors.py +++ b/src/leap/soledad/server/_blobs/errors.py @@ -42,3 +42,10 @@ class ImproperlyConfiguredException(Exception): """ Raised when there is a problem with the configuration of a backend. """ + + +class RangeNotSatisfiable(Exception): + """ + Raised when the Range: HTTP header was sent but the server doesn't know how + to satisfy it. + """ |