Package gavo :: Package web :: Module vodal
[frames] | no frames]

Module vodal

source code

Support for IVOA DAL and registry protocols.
Classes
  DALRenderer
is a base class for renderers for the usual IVOA DAL protocols.
  SCSRenderer
A renderer for the Simple Cone Search protocol.
  SIAPRenderer
A renderer for a the Simple Image Access Protocol.
  UnifiedDALRenderer
A renderer for new-style simple DAL protocols.
  SIAP2Renderer
A renderer for SIAPv2.
  SSAPRenderer
A renderer for the simple spectral access protocol.
  SLAPRenderer
A renderer for the simple line access protocol SLAP.
  APIRenderer
A renderer that works like a VO standard renderer but that doesn't actually follow a given protocol.
  RegistryRenderer
A renderer that works with registry.oaiinter to provide an OAI-PMH interface.
  DatalinkGetDataRenderer
A renderer for data processing by datalink cores.
  DatalinkGetMetaRenderer
A renderer for data processing by datalink cores.
  AsyncRendererBase
An abstract renderer for things running in a UWS.
  DatalinkAsyncRenderer
A renderer for asynchronous datalink.
  UWSAsyncRenderer
A renderer speaking UWS.
Functions
 
addAttachmentHeaders(request, mime=None)
adds a content-disposition header to request with a filename guessed based on datalink arguments.
source code
Variables
  __package__ = 'gavo.web'
Function Details

addAttachmentHeaders(request, mime=None)

source code 

adds a content-disposition header to request with a filename guessed based on datalink arguments.

This tries a number of heuristics to try and preserve a bit of the provenance in the name, mainly to make saving these things simpler.