mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-07 17:05:16 -04:00
Website mode doesn't need to support POST as a method
This commit is contained in:
parent
97922d33d0
commit
dc4eaffa97
2 changed files with 3 additions and 3 deletions
|
@ -112,6 +112,6 @@ class TestWebsite(GuiBaseTest):
|
|||
self.run_all_website_mode_setup_tests(tab)
|
||||
self.run_all_website_mode_started_tests(tab)
|
||||
url = f"http://127.0.0.1:{tab.app.port}/"
|
||||
self.hit_405(url, expected_resp="OnionShare: 405 Method Not Allowed", data = {'foo':'bar'}, methods = ["put", "delete", "options"])
|
||||
self.hit_405(url, expected_resp="OnionShare: 405 Method Not Allowed", data = {'foo':'bar'}, methods = ["put", "post", "delete", "options"])
|
||||
|
||||
self.close_all_tabs()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue