Permalink
Browse files

patch for GH-93

  • Loading branch information...
1 parent 06cd1b4 commit 301ca5084461b2c49e378f8354b804db58e9b56f @buzztroll buzztroll committed Apr 17, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 cumulus/cb/pycb/cbRequest.py
@@ -273,7 +273,8 @@ def work(self):
request = self.request
doc = Document()
- # Create the <wml> base element
+ self.setHeader(request, "content-type", "application/xml")
+ # Create the <xml> base element
listAll = doc.createElement("ListAllMyBucketsResult")
listAll.setAttribute("xmlns", "http://doc.s3.amazonaws.com/2006-03-01")
doc.appendChild(listAll)

0 comments on commit 301ca50

Please sign in to comment.