obspy.clients.seishub.client._StationMapperClient.put_resource

_StationMapperClient.put_resource(resource_name, xml_string, headers={})

PUTs a XML resource.

Parameters
  • resource_name (str) – Name of the resource.

  • headers (dict) – Header information for request, e.g. {'User-Agent': "obspyck"}

  • xml_string (str) – XML for a send request (PUT/POST)

Return type

tuple

Returns

(HTTP status code, HTTP status message)