Skip to content

Commit

Permalink
content type brought back in TD although default
Browse files Browse the repository at this point in the history
  • Loading branch information
VigneshVSV committed Jul 20, 2024
1 parent c76bf59 commit 0498bc0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion hololinked/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.2.0"
__version__ = "0.2.1"
2 changes: 1 addition & 1 deletion hololinked/server/td.py
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,7 @@ def build(self, action : typing.Callable, owner : Thing, authority : str) -> Non
form.op = 'invokeaction'
form.href = f'{authority}{owner._full_URL_path_prefix}{action._remote_info.URL_path}'
form.htv_methodName = method.upper()
self.contentEncoding = 'application/json'
form.contentType = 'application/json'
# form.additionalResponses = [AdditionalExpectedResponse().asdict()]
self.forms.append(form.asdict())

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

setuptools.setup(
name="hololinked",
version="0.2.0",
version="0.2.1",
author="Vigneh Vaidyanathan",
author_email="[email protected]",
description="A ZMQ-based Object Oriented RPC tool-kit with HTTP support for instrument control/data acquisition or controlling generic python objects.",
Expand Down

0 comments on commit 0498bc0

Please sign in to comment.