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

bugfix: ssz post-requests should check content type not accept #13482

Merged
merged 5 commits into from
Jan 18, 2024

Conversation

james-prysm
Copy link
Contributor

@james-prysm james-prysm commented Jan 17, 2024

What type of PR is this?

Bug fix

What does this PR do? Why is it needed?
reported by user #shanaq on discord

POST requests should not be using the Accept header to interpret incoming ssz data, we should use the Content-Type header to check for this instead.

@james-prysm james-prysm added Bug Something isn't working API Api related tasks labels Jan 17, 2024
@james-prysm james-prysm marked this pull request as ready for review January 17, 2024 22:37
@james-prysm james-prysm requested a review from a team as a code owner January 17, 2024 22:37
nisdas
nisdas previously approved these changes Jan 18, 2024
@james-prysm james-prysm enabled auto-merge January 18, 2024 14:09
@james-prysm james-prysm disabled auto-merge January 18, 2024 14:28
@james-prysm james-prysm changed the title updating post requests that accept ssz to check content type instead … bugfix: ssz post-requests should check content type not accept Jan 18, 2024
@james-prysm james-prysm requested a review from rkapka January 18, 2024 15:20
@james-prysm james-prysm added this pull request to the merge queue Jan 18, 2024
Merged via the queue into develop with commit 4d2067d Jan 18, 2024
17 checks passed
@james-prysm james-prysm deleted the fix-api-headers branch January 18, 2024 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Api related tasks Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants