Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

patch to allow for 100-continue to work.

Since cumulus is not doing redirects, 100-continue will always result in a successful continue.  Here we just send the continue to allow progress to be made.
  • Loading branch information...
commit 0340595f8857aed60cf93f173ce4c3b14a944d69 1 parent 38bd9a5
BuzzTroll authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 cumulus/cb/pycb/cumulus.py
View
4 cumulus/cb/pycb/cumulus.py
@@ -232,6 +232,10 @@ def allHeadersReceived(self):
self.send_access_error()
return
+ if 'expect' in h:
+ if h['expect'].lower() == '100-continue':
+ self.transport.write("HTTP/1.1 100 Continue\r\n\r\n")
+
(bucketName, objectName) = path_to_bucket_object(rPath)
# if we are putting an object
if objectName != None:
Please sign in to comment.
Something went wrong with that request. Please try again.