Azure / Azure/azure-functions-host

Enable gzip responses for application/xml

Open
#4,634 0 comments 0 reactions 0 assignees View on GitHub
3.x
Dominant language
C#
Stars
2k
Forks
482
Avg merge
2d 12h
Merged PRs (30d)
38

Description

In the functions applicationhost.config file, `application/xml` is not listed under the `gzip` scheme -- we've got `text/*` and a bunch of `application/...`, but not xml. We've had a customer request to support this -- is it something we can add to our xdt transform for the site extension? Should we make it configurable with some middleware?

Contributor guide

Open the contributing guide

Research direction

Inspect the functions applicationhost.config file and the site extension's XDT transform to see how gzip schemes are defined. Determine whether adding application/xml is sufficient or whether the requested configurability requires middleware; done means the supported approach is documented and XML responses are compressed as intended.

Written by the indexing model from the issue text.

Assessment

Tech stack
xml
Domain
infrastructure
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.