Skip to content

Headers cased incorrectly #274

Closed
Closed
@harshithkashyap

Description

@harshithkashyap

Investigative information

Please provide the following:

  • Core Tools: Azure Functions Core Tools (2.7.1948 Commit hash: 29a0626ded3ae99c4111f66763f27bb9fb564103)
  • Function Runtime Version: 2.0.12888.0
  • Timestamp: NA
  • Function App name: NA
  • Function name(s) (as appropriate): NA
  • Invocation ID: NA
  • Region: NA

Repro steps

Provide the steps required to reproduce the problem:

  1. Create a function with httpTrigger.
  2. Trigger the function using the endpoint and include a header with an empty value.
    Screenshot from 2019-12-10 23-19-08

Expected behavior

Headers with empty values should be parsed as empty string.
The following screenshots shows the headers with empty values being correctly parsed by ngrok.
Screenshot from 2019-12-10 23-33-56
Screenshot from 2019-12-10 23-34-14

Actual behavior

Instead, the other subsequent headers are parsed for the empty header.
Screenshot from 2019-12-10 23-24-12

Known workarounds

There are no known workarounds as of now as it's difficult to predict the empty header without access to raw http request.

Related information

  • Programming language used: TypeScript.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions