Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

178
Visualizações
Content-Type is in lower case in AWS API Request Header

I am using AWS Cloudfront and API gateway for a file upload API. I have deployed same code to two different but identical environments. Both the environments are built by the same cloudformation script. We are having a weird issue

When we are uploading file in environment A, we are getting following request

 "headers": {
    
    "content-type": "multipart/form-data; boundary=----WebKitFormBoundarygPe3hR4e1dTzLdBt",

However in environment B I am getting following

 "headers": {
   
    "Content-Type": "multipart/form-data; boundary=----WebKitFormBoundarygPe3hR4e1dTzLdBt",

The difference is Content-Type. In Environment A, I am getting Content-Type in lower case. Not sure why. This behavior is consistent across all browsers.

over 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

I have just found the same issue.

With a REST Private API: "Content-Type" With a REST Public API: "content-type"

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda