We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c43d4d8 commit ec97a08Copy full SHA for ec97a08
qiita_pet/handlers/download.py
@@ -266,7 +266,7 @@ def get(self, extras):
266
self.set_header('Content-Type', 'application/octet-stream')
267
self.set_header('Content-Transfer-Encoding', 'binary')
268
self.set_header('X-Accel-Redirect',
269
- '/protected-working_dir/' + relpath.decode('ascii'))
+ f'/protected-working_dir/{relpath}')
270
self.finish()
271
272
0 commit comments