Skip to content
Snippets Groups Projects
Unverified Commit 201178db authored by Richard van der Hoff's avatar Richard van der Hoff Committed by GitHub
Browse files

federation_client: stop adding URL prefix (#9645)

parent 9b0e3009
No related branches found
No related tags found
No related merge requests found
In the `federation_client` commandline client, stop automatically adding the URL prefix, so that servlets on other prefixes can be tested.
......@@ -223,7 +223,7 @@ def main():
parser.add_argument("--body", help="Data to send as the body of the HTTP request")
parser.add_argument(
"path", help="request path. We will add '/_matrix/federation/v1/' to this."
"path", help="request path, including the '/_matrix/federation/...' prefix."
)
args = parser.parse_args()
......@@ -239,7 +239,7 @@ def main():
args.server_name,
key,
args.destination,
"/_matrix/federation/v1/" + args.path,
args.path,
content=args.body,
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment