Mercurial > libervia-backend
changeset 4097:0f6fd28fde0d
component file sharing: fix method name case:
`render_OPTIONS` is a method inherited from Twisted, name has been put to lowercase
following massive refactoring, resulting in the method not being called anymore. This
patch fixes it.
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 22 Jun 2023 15:45:20 +0200 |
parents | 087902fbb77a |
children | 4a8b29ab34c0 |
files | libervia/backend/plugins/plugin_comp_file_sharing.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libervia/backend/plugins/plugin_comp_file_sharing.py Mon Jun 12 15:00:59 2023 +0200 +++ b/libervia/backend/plugins/plugin_comp_file_sharing.py Thu Jun 22 15:45:20 2023 +0200 @@ -136,7 +136,7 @@ "Date, Content-Length, Content-Range") return super().render(request) - def render_options(self, request): + def render_OPTIONS(self, request): request.setResponseCode(http.OK) return b""