Release assets need to have the correct MIME type

Đang mở
#487 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
25/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
github
Lĩnh vực
release

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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
Ngôn ngữ chính
Python
Star
13
Fork
10
Merge trung bình
9 ngày 10 giờ
Pull request đã merge (30 ngày)
3

Chuẩn bị môi trường

  • Không có Dockerfile hay tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của pan-ontologies/PaNET

Tất cả issue của pan-ontologies/PaNET

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.