* Fixed issue where put requests weren't firing with the optional body parameter

This also "fixes" the /neighbor/update route conveniently enough, which had much
better behavior than expected before.

- Remvoing some fluff from debugging
This commit is contained in:
shockrah
2021-05-12 13:02:42 -07:00
parent a0d60c0568
commit 8bff61ab71
3 changed files with 1 additions and 4 deletions

View File

@@ -41,7 +41,7 @@ class Request:
elif self.method == 'delete':
self.response = requests.delete(self.url, headers=self.headers, params=self.qs)
elif self.method == 'put':
self.response = requests.put(self.url, headers=self.headers, params=self.qs)
self.response = requests.put(self.url, headers=self.headers, params=self.qs, data=self.body)
return self.response
except Exception as e: