matrix-org / matrix-org/sytest

Check for a Content-Type header on non-GET federation outgoing requests

Open
#522 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Perl
Stars
81
Forks
63
Avg merge
1h 47m
Merged PRs (30d)
1

Description

Non-GET requests should have a Content-Type header (with `application/json` as its value). Sytest should check whether this header is included in outgoing federation requests and is set to the right value.

Contributor guide

Open the contributing guide

Research direction

Start by locating Sytest's checks for outgoing federation requests and the existing handling of non-GET requests. Add coverage for the required Content-Type header and its application/json value, then run the relevant federation test suite to confirm the check passes.

Written by the indexing model from the issue text.

Assessment

Tech stack
perl
Domain
testing
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.