Mathias Markl
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
muk_fields_lobject/controllers/main.py
|
@ -39,7 +39,7 @@ _logger = logging.getLogger(__name__) |
|
|
|
|
|
|
|
|
class LargeObjectController(http.Controller): |
|
|
class LargeObjectController(http.Controller): |
|
|
|
|
|
|
|
|
@http.route(['/web/content', |
|
|
|
|
|
|
|
|
@http.route(['/web/lobject', |
|
|
'/web/lobject/<string:xmlid>', |
|
|
'/web/lobject/<string:xmlid>', |
|
|
'/web/lobject/<string:xmlid>/<string:filename>', |
|
|
'/web/lobject/<string:xmlid>/<string:filename>', |
|
|
'/web/lobject/<int:id>', |
|
|
'/web/lobject/<int:id>', |
|
@ -77,4 +77,4 @@ class LargeObjectController(http.Controller): |
|
|
if download: |
|
|
if download: |
|
|
headers.append(('Content-Disposition', http.content_disposition(filename))) |
|
|
headers.append(('Content-Disposition', http.content_disposition(filename))) |
|
|
return wrappers.Response(content, headers=headers, direct_passthrough=True, status=status) |
|
|
return wrappers.Response(content, headers=headers, direct_passthrough=True, status=status) |
|
|
|
|
|
|
|
|
|
|
|
|