ParamHTTP

class pyvo.io.vosi.vodataservice.ParamHTTP(*args, **kwargs)[source]

Bases: 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

The type of HTTP request, either GET or POST.

resulttype

Methods Summary

parse(iterator, config)

For internal use.

Attributes Documentation

querytypes

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

Methods Documentation

parse(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:
iteratorxml iterator

An iterator over XML elements as returned by get_xml_iterator.

configdict

The configuration dictionary that affects how certain elements are read.