CodeGenieApp / CodeGenieApp/serverless-express
`headers` missing on API Gateway V1 response
- Lenguaje dominante
- JavaScript
- Estrellas
- 5.3k
- Forks
- 676
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
For some reason, the API Gateway V1 response does not include the `headers` field. It converts the input headers to `multiValueHeaders`.
This is a breaking change from `aws-serverless-express` and something that I am now patching manually with `patch-package` to get back the previous response object.
We have our own API Gateway-like proxy via a Cloudflare worker and CF (or browser) workers don't support multi value headers in the response, so at the very least it would be nice to have an option to just use `headers` or pass both of them as is to the proxy.
Guía de contribución
Línea de trabajo
Comienza rastreando cómo la response de API Gateway V1 convierte los input headers en multiValueHeaders y, a continuación, compara ese comportamiento con aws-serverless-express. Verifica la response shape esperada para el Cloudflare worker proxy, incluido si deben emitirse headers, multiValueHeaders o ambos.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- aws, express, javascript, node.js
- Área
- api, backend, cloud
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100