Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Possibility to suppress the HTTP Date header field

オープン
#983 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
48/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
scala
領域
api, backend

調査の方向性

まず、Pekko HTTP の自動的な Date-header 処理と、Server header を抑制する既存の設定を見つけてください。Date を省略するための設定オプションを追加し、そのオプションを有効にした場合としない場合の responses を対象とした回帰テストで動作をカバーしてください。

索引モデルが issue の本文から書いたものです。

説明

I am writing a small application that emulates electrical meters like the Everhome EcoTracker. Therefore, I am using Pekko and Pekko Http.

The emulated EcoTracker device has the absolute non-standard behavior of not providing a Date header field in its HTTP responses. I guess the main reason for that is that the device has no date/time information. Unfortunately, some battery storages rely on an HTTP response with exactly the two HTTP header fields content-type and content-length.

With the current Pekko HTTP version, I am not able to suppress the Date header field. It is always automatically added. I am thinking about an additional configuration parameter that allows suppressing the Date header in a similar manner as it is possible with der Server header field.

I would volunteer to implement that feature and provide a PR. I just wanted to first check if such a PR has the chance to be accepted or if it would be refused since such a behavior is absolutely non-standard.

主要言語
Scala
スター
196
フォーク
56
平均マージ
1日 20時間
マージ済み PR(30日)
40

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

apache/pekko-http のほかの issue

apache/pekko-http の issue をすべて見る

似ている issue

Scala の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。