Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Synapse queries the IS's /store-invite endpoint with the wrong content-type #5634

@babolivier

Description

@babolivier

Synapse currently sends requests to /store-invite using the application/x-www-form-urlencoded content-type header: https://github.com/matrix-org/synapse/blob/master/synapse/handlers/room_member.py#L908

The IS spec says:

all API calls use a Content-Type of application/json

It currently works because Sydent supports both application/x-www-form-urlencoded and application/json but this doesn't sound like something we'd want to do.

Metadata

Metadata

Assignees

Labels

z-bug(Deprecated Label)z-p2(Deprecated Label)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions