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

Remove strip to avoid issue when the final header is blank - with tests! #80

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

talmakion
Copy link

Refer issue #67, fixing events with a blank final header and whitespace stripping in ESLEvent.parse_data().

This is an updated pull request from earlier, rebased on current master with fixed and added tests.

Following removal of event body strip(), leading blank line in
disconnect_event sample caused ESLEvent.parse_data to attempt a 
multi-line continuation before having a valid Key: Value pair to 
continue from.

Fix removes leading blank line to match other event samples in tests.
@talmakion talmakion changed the title Bugfix/logevent parsing no strip Remove strip to avoid issue when the final header is blank - with tests! Mar 30, 2022
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.

1 participant