semaphoreio/semaphore

Add missing `Content-Type` headers in public api

开放

#372 创建于 2025年6月9日

 (3 条评论) (0 个反应) (2 位负责人)Elixir (77 个派生)batch import
enhancementgood first issue

仓库指标

星标
 (1,519 个星标)
PR 合并指标
 (平均合并 6天 15小时) (30 天内合并 40 个 PR)

描述

Is your improvement proposal related to a problem? Please describe.

Currently, only some responses from the public API have a Content-Type header set. This can lead to issues when the requester expects a specific content type and it is not provided.

Describe the solution you'd like

Add Content-Type headers to all responses from the public API, ensuring that they are set to the appropriate type based on the content being returned (e.g., application/json for JSON responses).

Describe alternatives you've considered

No response

Additional context

贡献者指南