Bug: SNS Confirmation JSON POST request sent as text/plain

0

SNS confirmation emails are sent out with a JSON body but the content-type is 'text/plain' where it should be application/json so the body can be parsed by built-in parsers.

Eg. in Python Flask if you try to use request.get_json() on the confirmation request it returns a 400 Bad Request as Flask won't parse the body if the content-type is wrong.

Please fix!

preguntada hace un año49 visualizaciones
No hay respuestas

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas