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 for #28 - ESLEvent.body is now also a dictionary key. #30

Closed
wants to merge 1 commit into from

Conversation

Netzvamp
Copy link
Contributor

It's possible to get the body data in #28 with response.body, but it's a UserDict, so i think it should also be a key.

@Otoru
Copy link
Owner

Otoru commented Jan 18, 2025

Do you think there is a chance that this key could conflict with some event header?

@Netzvamp
Copy link
Contributor Author

Lol, i don't know why tests are running fine on my end, but i see it has to fail 😆 I'll fix that ...

@Netzvamp
Copy link
Contributor Author

Netzvamp commented Jan 20, 2025

Do you think there is a chance that this key could conflict with some event header?

It's an additional header/dict key, i don't think so. But i'll check some things...

@Netzvamp
Copy link
Contributor Author

You are right, let's not complicate things. Maybe there is some conflicting header in the future and we can't change back with that. So ESLEvent.body is the official way to get the body and thats it ...

@Netzvamp Netzvamp closed this Jan 20, 2025
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.

2 participants