diff --git a/splunklib/client.py b/splunklib/client.py index 39b1dcc3..286719c5 100644 --- a/splunklib/client.py +++ b/splunklib/client.py @@ -2086,10 +2086,6 @@ def submit(self, event, host=None, source=None, sourcetype=None): if source is not None: args['source'] = source if sourcetype is not None: args['sourcetype'] = sourcetype - # The reason we use service.request directly rather than POST - # is that we are not sending a POST request encoded using - # x-www-form-urlencoded (as we do not have a key=value body), - # because we aren't really sending a "form". self.service.post(PATH_RECEIVERS_SIMPLE, body=event, **args) return self