ParamHTTP

class pyvo.io.vosi.vodataservice.ParamHTTP(config=None, pos=None, _name='', **kwargs)[source]

Bases: pyvo.io.vosi.voresource.Interface

ParamHTTP element as described in http://www.ivoa.net/xml/VODataService/v1.1

A service invoked via an HTTP Query (either Get or Post) with a set of arguments consisting of keyword name-value pairs.

Note that the URL for help with this service can be put into the Service/ReferenceURL element.

Attributes Summary

querytypes(fget) The type of HTTP request, either GET or POST.
resulttype(fget)

Methods Summary

parse(self, iterator, config) For internal use.

Attributes Documentation

querytypes(fget)

The type of HTTP request, either GET or POST.

The service may indicate support for both GET and POST by providing 2 queryType elements, one with GET and one with POST.

resulttype(fget)

Methods Documentation

parse(self, iterator, config)[source]

For internal use. Parse the XML content of the children of the element. Override this method and do after-parse checks after calling super().parse, if you need to.

Parameters:
iterator : xml iterator

An iterator over XML elements as returned by get_xml_iterator.

config : dict

The configuration dictionary that affects how certain elements are read.