Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

and initial crack at redirectes is working. off by default. needs tes…

…ts. suitable for SC experiments right now.
  • Loading branch information...
commit 510e9997a6d59f48d7654d52aadc8401df958ffd 1 parent 503609b
BuzzTroll authored
Showing with 5 additions and 16 deletions.
  1. +5 −16 cumulus/cb/pycb/cumulus.py
View
21 cumulus/cb/pycb/cumulus.py
@@ -283,27 +283,16 @@ def allHeadersReceived(self):
if ndx >= 0:
rPath = rPath[0:ndx]
rPath = createPath(h, rPath)
- try:
- user = authorize(h, self._command, rPath, self._path)
- except:
- self.send_access_error()
- return
+# try:
+# user = authorize(h, self._command, rPath, self._path)
+# except:
+# self.send_access_error(req)
+# return
if 'expect' in h:
if h['expect'].lower() == '100-continue':
self.transport.write("HTTP/1.1 100 Continue\r\n\r\n")
- global count_locks
- global g_connection_count
- count_lock.acquire()
- try:
- g_connection_count = g_connection_count + 1
- d = req.notifyFinish()
- d.addBoth(cb_expired)
- finally:
- count_lock.release()
-
-
(bucketName, objectName) = path_to_bucket_object(rPath)
# if we are putting an object
if objectName != None and self._command == "PUT":
Please sign in to comment.
Something went wrong with that request. Please try again.