Show More
@@ -599,13 +599,13 b' class SimpleVCS(object):' | |||
|
599 | 599 | also handles the locking exceptions which will be triggered when |
|
600 | 600 | the first chunk is produced by the underlying WSGI application. |
|
601 | 601 | """ |
|
602 | ||
|
602 | 603 | txn_id = '' |
|
603 | 604 | if 'CONTENT_LENGTH' in environ and environ['REQUEST_METHOD'] == 'MERGE': |
|
604 | 605 | # case for SVN, we want to re-use the callback daemon port |
|
605 | 606 | # so we use the txn_id, for this we peek the body, and still save |
|
606 | 607 | # it as wsgi.input |
|
607 |
data = environ['wsgi.input']. |
|
|
608 | environ['wsgi.input'] = io.StringIO(data) | |
|
608 | data: str = safe_str(environ['wsgi.input'].getvalue()) | |
|
609 | 609 | txn_id = extract_svn_txn_id(self.acl_repo_name, data) |
|
610 | 610 | |
|
611 | 611 | callback_daemon, extras = self._prepare_callback_daemon( |
General Comments 0
You need to be logged in to leave comments.
Login now