40 lines
998 B
Python
40 lines
998 B
Python
#!/usr/bin/python
|
|
# -*- coding: utf-8 -*-
|
|
# This program is free software; you can redistribute it and/or modify
|
|
# it under the terms of the GNU Lesser General Public License as published by
|
|
# the Free Software Foundation; either version 3, or (at your option) any
|
|
# later version.
|
|
#
|
|
# This program is distributed in the hope that it will be useful, but
|
|
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTIBILITY
|
|
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
# for more details.
|
|
|
|
"""Pythonic simple SOAP Client plugins"""
|
|
|
|
|
|
from __future__ import unicode_literals
|
|
import sys
|
|
if sys.version > '3':
|
|
basestring = unicode = str
|
|
|
|
import datetime
|
|
from decimal import Decimal
|
|
import os
|
|
import logging
|
|
import hashlib
|
|
import warnings
|
|
|
|
|
|
from . import __author__, __copyright__, __license__, __version__
|
|
|
|
|
|
class WSSE:
|
|
|
|
def preprocess(self, request):
|
|
header = request('Header')
|
|
|
|
|
|
def postprocess(response):
|
|
return response
|