Package flumotion :: Package component :: Package misc :: Package httpserver :: Module cachedprovider
[hide private]

Module cachedprovider

source code

Classes [hide private]
  FileProviderLocalCachedPlug
WARNING: Currently does not work properly in combination with rate-control.
  LocalPath
  CopyThread
  CopySessionCancelled
  CopySession
I'm serving a file at the same time I'm copying it from the network file system to the cache.
  TempFileDelegate
  DirectFileDelegate
  CachedFileDelegate
  CachedFile
Functions [hide private]
(file, statinfo)
open_stat(path, mode='rb') source code
Variables [hide private]
  SEEK_SET = 0
  FILE_COPY_BUFFER_SIZE = 65536
  MAX_LOGNAME_SIZE = 30
  LOG_CATEGORY = 'fileprovider-localcached'
  errnoLookup = {2: <class 'flumotion.component.misc.httpserver....
  __package__ = 'flumotion.component.misc.httpserver'
Variables Details [hide private]

errnoLookup

Value:
{2: <class 'flumotion.component.misc.httpserver.fileprovider.NotFoundE\
rror'>,
 13: <class 'flumotion.component.misc.httpserver.fileprovider.AccessEr\
ror'>,
 21: <class 'flumotion.component.misc.httpserver.fileprovider.CannotOp\
enError'>}