Skip to content

Django app that enables http access to EOxServer data via multipart requests

License

Notifications You must be signed in to change notification settings

EOxServer/http_access

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

http_access

An extension of eoxserver that allows direct http access and range requests to access raster data.

Install

To add to a django instance, edit the following files:

settings.py

INSTALLED_APPS = (
    ...
    'http_access'
)

urls.py

urlpatterns = [
    ...
    re_path(r'^http/', include('http_access.urls'))
]

Usage

The files can directly be accessed with http range requests with the Range header, the storage name (STORAGE_NAME) and the path to the file (/PATH/TO/FILE) in the storage.

curl -i -H "Range: bytes=15-60" http://host.com/http/storage/<STORAGE_NAME>/<PATH/TO/FILE>

When the file is not located on a storage, but on a local filesystem, the following request is to be used:

curl -i -H "Range: bytes=15-60" http://host.com/http/local/<PATH/TO/FILE>

About

Django app that enables http access to EOxServer data via multipart requests

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages