Release assets need to have the correct MIME type

Abierto
#487 1 comentario 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
25/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Tranquilo
Stack tecnológico
github
Área
release

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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
Lenguaje dominante
Python
Estrellas
13
Forks
10
Merge medio
9 d 10 h
PR fusionados (30 d)
3

Preparar el entorno

  • Sin Dockerfile ni archivo de Docker Compose
  • Tiene una plantilla de pull request
  • Sin guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de pan-ontologies/PaNET

Todos los issues de pan-ontologies/PaNET

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.