Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

empower headers users in defining their own headers

Abierto
#203 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
25/100
Tipo de issue
Nueva funcionalidad
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
rust

Línea de trabajo

Start by reviewing the crate's public typed-header API and the utilities named in the issue, including CSV parsing and HttpDate. Examine ContentType's construction limits and consider how externally defined headers or an unstable extension surface would fit. Done would require a decided scope and API design, followed by implementation and tests.

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

Descripción

This crate comes with a lot of utilities which aren't available in public API space. This leads to people having to define their own utilities for very similar headers. In case this crate would be ok in adding a lot more (semi) std http headers that would be less of an issue, but AFAIK it is intended to keep this crate limited to the more popular ones and certainly not X- like headers, even though plenty of them are pretty standard.

With utilities I mean CSV parsing, HttpDate, etc...
I'm fine with this being behind an unstable feature or w/e, but right now you pretty much need to copy them out which is a lot harder to keep in sync then just having your code break with an update.

Similar, a lot headers that are supported here have also severe limitations in how they can be used, making it now always easy or even possible to use the typed headers due to these limitations. E.g. ContentType only has support for a couple of content-types to construct them with, just to give an example.

All in all this crate (headers) is fantastic, but I feel it is currently a lot more limited in how it can be used as well as externally extended.

Lenguaje dominante
Rust
Estrellas
200
Forks
108
Merge medio
3 d 2 h
PR fusionados (30 d)
2

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

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 hyperium/headers

Todos los issues de hyperium/headers

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.