Permalink
Browse files

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

…ts. suitable for SC experiments right now.
  • Loading branch information...
1 parent 503609b commit 510e9997a6d59f48d7654d52aadc8401df958ffd BuzzTroll committed Oct 5, 2010
Showing with 5 additions and 16 deletions.
  1. +5 −16 cumulus/cb/pycb/cumulus.py
View
@@ -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":

0 comments on commit 510e999

Please sign in to comment.