Skip to content
This repository has been archived by the owner on Dec 12, 2023. It is now read-only.

Commit

Permalink
remove workaround for aiocoap issue #14
Browse files Browse the repository at this point in the history
  • Loading branch information
aellwein committed Mar 31, 2015
1 parent 7ecfdf8 commit ef16cdc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lwm2m/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def get_path():
return "rd"

@asyncio.coroutine
def render_POST(self, request):
def render_post(self, request):
"""
This method is called on client registration.
:param request:
Expand Down Expand Up @@ -139,7 +139,7 @@ def bad_request(payload=None):
return response

@asyncio.coroutine
def render_PUT(self, request):
def render_put(self, request):
location = request.opt.uri_path[-1]
self.log.debug("PUT called for location %s" % location)
opts = dict(x.split("=") for x in request.opt.uri_query)
Expand All @@ -157,7 +157,7 @@ def render_PUT(self, request):
return response

@asyncio.coroutine
def render_DELETE(self, request):
def render_delete(self, request):
location = request.opt.uri_path[-1]
self.log.debug("DELETE called for location %s" % location)
self._remove_client(location)
Expand Down

0 comments on commit ef16cdc

Please sign in to comment.