Browse Source

Update main.py

pull/6/head
Mathias Markl 7 years ago
committed by GitHub
parent
commit
5f8c2ffa12
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      muk_fields_lobject/controllers/main.py

4
muk_fields_lobject/controllers/main.py

@ -39,7 +39,7 @@ _logger = logging.getLogger(__name__)
class LargeObjectController(http.Controller):
@http.route(['/web/content',
@http.route(['/web/lobject',
'/web/lobject/<string:xmlid>',
'/web/lobject/<string:xmlid>/<string:filename>',
'/web/lobject/<int:id>',
@ -77,4 +77,4 @@ class LargeObjectController(http.Controller):
if download:
headers.append(('Content-Disposition', http.content_disposition(filename)))
return wrappers.Response(content, headers=headers, direct_passthrough=True, status=status)
Loading…
Cancel
Save