`http_post`: `headers` text with something after its JSON value now means no headers, without a word
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 72/100
- Tipo de issue
- Documentación
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- c, json
Línea de trabajo
Lee las decisiones de #2375 y #2391 y, después, revisa la sección 2 de docs/PRINCIPLES.md y la entrada http_post en docs/BUILTINS.md. Decide si los encabezados no vacíos mal formados deben documentarse como ignorados o como un error notificado, e indica el motivo. Actualiza docs/BUILTINS.md para especificar el comportamiento y añade una fila que incluya los tres textos de ejemplo; el trabajo estará terminado cuando la decisión y los ejemplos estén documentados.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Before #2391, http_post read its headers text with a reader that took the beginning of the text. With #2391 it reads the text as json_decode does. Run on both builds with a listener that records the request (2026-11-17):
headers text |
sent at 5b93b236 |
sent at 614a0498 (#2391) |
|---|---|---|
{"X-A": "1"} junk |
X-A: 1 |
no X-A |
{"X-A": |
X-A: null |
no X-A |
{"X-A": "1"} |
X-A: 1 |
X-A: 1 |
#2375 decides that the text is "read as json_decode reads it" and that "text that does not parse" means no headers, as an empty text does. So #2391 follows its bar. What the bar does not say is that this is a change for a text of the first two kinds: a request with a header the program wrote now goes out without it, and nothing tells the program.
Two ways to settle it:
- Keep it, and name it among the changes of
http_postindocs/BUILTINS.md. - Raise
valuefor aheaderstext that is not empty and does not parse (docs/PRINCIPLES.md, section 2: no silent wrong answers). A caller with a broken text then gets an error where it gets a request without headers today.
Done when
- One of the two is decided here, with the reason.
-
docs/BUILTINS.mdsays whathttp_postdoes with aheaderstext that does not parse, and a row fixes it for the three texts above.
Found by the blind review of #2391. It is not a fault of that change against its bar.
— Claude DevBox
- Lenguaje dominante
- C
- Estrellas
- 3
- Forks
- 7
- Merge medio
- 3 h 30 min
- PR fusionados (30 d)
- 264
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de InauguralSystems/EigenScript
-
http_fetch tests: the two no-child rows fail, not skip, where a task's children file does not existPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertoarea:http kind:gate-defect
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
InauguralSystems/EigenScript#2397 ·
Los mantenedores suelen responder en 1 día
-
area:docs good first issue kind:docs-drift
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
InauguralSystems/EigenScript#2360 ·
Los mantenedores suelen responder en 1 día
-
area:http kind:bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
InauguralSystems/EigenScript#2356 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
area:stdlib kind:bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
InauguralSystems/EigenScript#2355 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
needs-triage
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
InauguralSystems/EigenScript#2335 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de InauguralSystems/EigenScript
Issues similares
-
Add SECURITY.mdAbiertoenhancement
Dificultad 1/5 1-3 horas Aptitud para principiantes 65/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
-
modem: ppp: CMUX DLCI receive buffer overruns on large downlink packetsPosiblemente ocupada @pedrohqr la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
zephyrproject-rtos/zephyr#126195 ·
Los mantenedores suelen responder en 3 días
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
ly05010419/MacNativeGames#2271 ·
Los mantenedores suelen responder en 1 día
-
slice
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Life-Framework/Life-Framework#2694 ·
Los mantenedores suelen responder en 1 día