'This method is called when the user finishes editing the request that
will be sent to the wire.
:param orig_http_request: The original HTTP request
:param head: The headers for the modified request
:param post_data: The post-data for the modified request
:return: The HTTP response'

def on_request_edit_finished(self, orig_http_request, head, post_data):

    try:
        http_request = http_request_parser(head, post_data)
        http_response = self._send_http_request(http_request)
    except Exception as e:
        trace = str(traceback.format_exc())
        http_response = self._create_error_response(orig_http_request, None, e, trace=trace)
    self.parent_process.requests_already_modified.put(http_response)
    return http_response
