* 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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user