Skip to content

[BUG]: http headers are lowercase #1231

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
4 of 7 tasks
cveld opened this issue Jul 4, 2024 · 0 comments
Open
4 of 7 tasks

[BUG]: http headers are lowercase #1231

cveld opened this issue Jul 4, 2024 · 0 comments
Labels

Comments

@cveld
Copy link

cveld commented Jul 4, 2024

New issue checklist

Extension name

ServerTaskHelper\AzureFunctionBasicHandler\AzureFunctionBasicHandler.csproj

Extension version

N/A

Issue Description

Either Azure DevOps or the dotnet middleware is converting the headers to lowercase which actually is a good thing as this is desired by the http spec.

But the dotnet code does not expect this to happen and errors out:

System.Private.CoreLib: Exception while executing function: MyBasicFunction. DistributedTask.ServerTask.Remote.Common: Required properties 'ProjectId, PlanId, PlanUrl, JobId, TimelineId, AuthToken' are missing. Please provide these values and try again.

Environment type (Please select at least one enviroment where you face this issue)

  • Self-Hosted
  • Microsoft Hosted
  • VMSS Pool
  • Container

Azure DevOps Server type

dev.azure.com (formerly visualstudio.com)

Azure DevOps Server Version (if applicable)

No response

Operation system

N/A

Relevant log output

N/A

Full task logs with system.debug enabled

N/A

Repro steps

N/A
@cveld cveld added the bug label Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant