Skip to content
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

Fix writing record for clients which don't support for Expect header #293

Merged
merged 2 commits into from Jun 9, 2023

Conversation

atimin
Copy link
Member

@atimin atimin commented Jun 9, 2023

Closes #292

Please check if the PR fulfills these requirements

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • CHANGELOG.md have been updated (for bug fixes / features / docs)

What kind of change does this PR introduce?

Bug fix

What is the current behavior?

See #292

What is the new behavior?

The endpoint checks the "Expect" header and drains the stream if it doesn't exist, but only after the permission check

Does this PR introduce a breaking change?

No

Other information:

@atimin atimin changed the title fix writing record for clients which doesn't support Expect header Fix writing record for clients which don't support for Expect header Jun 9, 2023
@atimin atimin closed this Jun 9, 2023
@atimin atimin reopened this Jun 9, 2023
@atimin atimin merged commit db4a5d1 into main Jun 9, 2023
10 checks passed
@atimin atimin deleted the reductstore-292 branch June 9, 2023 11:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: Broken Pipe error when writing a record causes an HTTP error
1 participant