UMM JSON search responses are not gzipped when the request accepts gzip
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Reproduce both curl requests from the issue and compare the content-encoding headers for .json and .umm_json. Start by locating the response-compression middleware used by the search routes and the content-type allowlist that covers application/json but appears not to cover the UMM JSON media type. Check the search/middleware tests for response-header assertions; done means .umm_json returns content-encoding: gzip when accepted, while existing JSON behavior and uncompressed requests stay unchanged.
索引モデルが issue の本文から書いたものです。
説明
A granule search returned as UMM JSON is not compressed when the request sends Accept-Encoding: gzip, although the same search returned as JSON is. The output below is from 2026-11-23.
$ curl -sS -o /dev/null -D - -H 'Accept-Encoding: gzip' 'https://cmr.earthdata.nasa.gov/search/granules.json?collection_concept_id=C2076104650-LPCLOUD&page_size=100' | grep -i -E '^content-(type|encoding|length)'
content-type: application/json;charset=utf-8
content-encoding: gzip
$ curl -sS -o /dev/null -D - -H 'Accept-Encoding: gzip' 'https://cmr.earthdata.nasa.gov/search/granules.umm_json?collection_concept_id=C2076104650-LPCLOUD&page_size=100' | grep -i -E '^content-(type|encoding|length)'
content-type: application/vnd.nasa.cmr.umm_results+json;version=1.6.7; charset=utf-8
content-length: 1133709
The 1,133,709-byte UMM JSON body compresses to 29,843 bytes with gzip:
$ curl -sS 'https://cmr.earthdata.nasa.gov/search/granules.umm_json?collection_concept_id=C2076104650-LPCLOUD&page_size=100' | gzip | wc -c
29843
Expected: a UMM JSON response is gzipped when the request accepts gzip, as a JSON response is.
- 主要言語
- Clojure
- スター
- 403
- フォーク
- 111
- 平均マージ
- 2日 4時間
- マージ済み PR(30日)
- 13
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
nasa/Common-Metadata-Repository のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
nasa/Common-Metadata-Repository#2544 ·
メンテナーはふだん 1 日以内に返信
-
Reindexer returns server errors for impossible calendar dates再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
nasa/Common-Metadata-Repository#2502 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 58/100
nasa/Common-Metadata-Repository#2548 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 56/100
nasa/Common-Metadata-Repository#2547 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 65/100
nasa/Common-Metadata-Repository#2546 ·
メンテナーはふだん 1 日以内に返信
nasa/Common-Metadata-Repository の issue をすべて見る
似ている issue
-
unshaved-yak
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
.Needs Triage .Team/UXWest Misc/Accessibility Priority:P3 Type:New Feature
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
metabase/metabase#88153 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
needs triage
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
editor-code-assistant/eca#717 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100