summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/gotosocial/action/testrig/testrig.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmd/gotosocial/action/testrig/testrig.go b/cmd/gotosocial/action/testrig/testrig.go
index dc5f1c7dc..1220d6c23 100644
--- a/cmd/gotosocial/action/testrig/testrig.go
+++ b/cmd/gotosocial/action/testrig/testrig.go
@@ -107,6 +107,9 @@ var Start action.GTSAction = func(ctx context.Context) error {
return &http.Response{
StatusCode: 200,
Body: r,
+ Header: http.Header{
+ "Content-Type": req.Header.Values("Accept"),
+ },
}, nil
}, ""))
mediaManager := testrig.NewTestMediaManager(&state)