(self, params_dict)
| 41 | |
| 42 | class HttpCommunicator: |
| 43 | def __init__(self, params_dict): |
| 44 | self.url = read_obligatory(params_dict, 'url', ' for HTTP callback') |
| 45 | |
| 46 | if not self.url.strip().lower().startswith('http'): |
| 47 | self.url = 'http://' + self.url.strip() |
| 48 | |
| 49 | def send(self, body, content_type=None): |
| 50 | headers = {} |
nothing calls this directly
no test coverage detected