Skip to main content

libnetworkcache - Client for ShaCache and ShaDir HTTP Server

Project description

Introduction

The goal of libnetworkcache python library is to abstract the HTTP calls. It works as wrapper of python httplib to use the Networkcache HTTP Server.

The Networkcache HTTP Server are sub-divided into two Web services:
  • SHACACHE

  • SHADIR

SHACACHE

It is a simple HTTP Server used to cache files.

SHADIR

It is a simple HTTP Server used to cache information, working like a directory.

API

Please see slapos/libnetworkcache.py

Changes

0.4 (2011-08-10)

  • Implement signature checking of downloaded content [Lucas Carvalho]

0.3 (2011-08-03)

  • Deal with proxy in correct way [Sebastien Robin]

0.2 (2011-07-01)

  • Incompatible change: NetworkcacheClient.download returns opened temporary file object, which will be deleted on close. This minimises memory footprint. [Lucas Carvalho]

  • Minimise memory footprint during upload. [Łukasz Nowak]

  • Use PUT instead of POST during upload. [Lucas Carvalho]

0.1 (2011-06-23)

  • Initial version.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

slapos.libnetworkcache-0.4.tar.gz (7.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page