API docs give the timeout header as CMR-Time-Out, without the "d" in CMR-Timed-Out

オープン 初心者向け
#2,544 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

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

評価

難易度
1/5
見積もり時間
1時間未満
初心者へのやさしさ
88/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
markdown
領域
documentation

調査の方向性

search-app/docs/api.md を開き、412-417 行目付近の Request Timeouts セクションを読んでください。そこではレスポンスヘッダーが CMR-Time-Out と書かれています。234 行目付近の CORS セクションではすでに CMR-Timed-Out と表記されているので、それを参照表記として使ってください。Request Timeouts の文言をそれに合わせて変更し、その後ドキュメント内で CMR-Time-Out を grep して、他の出現が残っていないことを確認してください。完了とは、そのセクションが search レスポンスで公開されるヘッダー名を正確に示している状態です。

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

説明

The Request Timeouts section of the API docs says that a query that times out returns a subset of the results, and that its response "will include the CMR-Time-Out header set to true". CMR's search responses name the header CMR-Timed-Out instead. The two names differ by one letter, a "d": Time in the docs, and Timed in the responses. Every search response lists the header (output from 2026-11-23):

$ curl -sS -o /dev/null -D - 'https://cmr.earthdata.nasa.gov/search/collections.json?page_size=0' | grep -i '^access-control-expose-headers'
access-control-expose-headers: CMR-Hits, CMR-Request-Id, X-Request-Id, CMR-Scroll-Id, CMR-Search-After, CMR-Timed-Out, CMR-Shapefile-Original-Point-Count, CMR-Shapefile-Simplified-Point-Count

The CORS section of the same docs also lists CMR-Timed-Out.

Expected: the Request Timeouts section names CMR-Timed-Out, so that a client that follows it can tell a partial result from a complete one.

主要言語
Clojure
スター
403
フォーク
111
平均マージ
2日 4時間
マージ済み PR(30日)
13

環境構築

はじめの一歩

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

nasa/Common-Metadata-Repository のほかの issue

nasa/Common-Metadata-Repository の issue をすべて見る

似ている issue

Clojure の issue をもっと見る

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

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