mirror of https://github.com/perkeep/perkeep.git
Location header must be str, not unicode.
This commit is contained in:
parent
d9c5b2db73
commit
b4654b132f
|
@ -300,7 +300,7 @@ class UploadHandler(blobstore_handlers.BlobstoreUploadHandler):
|
|||
# implies that he meant for clients to do a GET on subsequent requests,
|
||||
# so 303 is probably what he wanted:
|
||||
self.response.set_status(303)
|
||||
self.response.headers.add_header("Location", '&'.join(query))
|
||||
self.response.headers.add_header("Location", str('&'.join(query)))
|
||||
|
||||
|
||||
class ErrorHandler(webapp.RequestHandler):
|
||||
|
|
Loading…
Reference in New Issue