Azure / Azure/azure-functions-host

Allow longer query strings than 4096

Open
#4,993 2 comments 0 reactions 1 assignee Claimed by @mhoeger View on GitHub
enhancement
Dominant language
C#
Stars
2k
Forks
482
Avg merge
2d 12h
Merged PRs (30d)
38

Description

I stumbled across the request limits for GET http triggered functions and I was wondering whether this limit could be softened.

The use case is, that we want to have a GET function, that accepts a list of IDs to query the database with an "IN" operator. This list of IDs can be of any size.

During development, the local function host did not really bother about the query string length and it worked with a query string larger than 4096 chars. But when deployed to Azure it stopped working with an error message: "The resource has moved". I am using functions v2.

I found the web.config having ``

Now I was wondering, why this small limit and whether it could be raised? The IETF does not specify a limit on query string length, and it feels odd to me to use a POST http trigger for a pure GET operation. :-)

Maybe you have valid reasons for this limitation and can enlighten me :-)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.