def get_relates_to_info():
    """Retrieves the relatesTo header. This is used for callbacks"""
    from soaplib.wsgi_soap import request
    headerElement = request.header
    if headerElement:
        headers = headerElement.getchildren()
        for header in headers:
            if header.tag.lower().find('relatesto') != -1:
                return header.text
