Release assets need to have the correct MIME type

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

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
github
領域
release

調査の方向性

No source file is involved; the work is on the v1.3.0 GitHub release, where PaNET.owl and PaNET_reasoned.owl were uploaded without a MIME type. Start by rerunning the curl command in the issue to confirm the content-type: application/octet-stream header. A fix needs release write access to re-upload the assets with a proper Content-Type, for example through the GitHub releases API. Done means the same curl check returns a non-default type for both files.

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

説明

We add assets with the releases, e.g. the last release 1.3.0 has the two additional assets PaNET.owl and PaNET_reasoned.owl. But apparently we didn't specify the MIME type while adding these assets in the release, so GitHub will deliver them as application/octet-stream, which is the default:

$ curl --location --no-progress-meter --dump-header - --output /dev/null https://github.com/pan-ontologies/PaNET/releases/download/v1.3.0/PaNET.owl
HTTP/1.1 200 Connection established
[...]

HTTP/2 200 
[...]
content-type: application/octet-stream
content-length: 341600
主要言語
Python
スター
13
フォーク
10
平均マージ
9日 10時間
マージ済み PR(30日)
3

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

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

pan-ontologies/PaNET のほかの issue

pan-ontologies/PaNET の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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