Skip to content

Conversation

mikeseese
Copy link
Contributor

@mikeseese mikeseese commented Jan 18, 2023

What this PR does / Why we need it:

The HTTP POST request to run the Match Function (/v1/matchfunction:run) currently has no Content-Type header on it. This prevents parsing utils (such as https://www.npmjs.com/package/body-parser) from automatically being able to parse the JSON body. This PR adds the missing Content-Type header as well as the Transfer-Encoding header.

Which issue(s) this PR fixes:
There is no associated issue for this.

Special notes for your reviewer:
Here is the Slack conversation about this issue: https://open-match.slack.com/archives/CCD3H0L2D/p1673486707254609

Copy link
Contributor

@mridulji mridulji left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍🏻

@mridulji mridulji merged commit 50b4063 into googleforgames:main Jan 27, 2023
@mridulji mridulji added this to the v1.7.0 milestone Feb 10, 2023
@mridulji mridulji added good first issue Good for newcomers area/developer-experience This issue impacts developer experience when building a Matchmaker using Open Match area/refinement labels Feb 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/developer-experience This issue impacts developer experience when building a Matchmaker using Open Match area/refinement good first issue Good for newcomers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants