Skip to content

Headers: add toString() for nicer logging/debugging#321

Merged
ryber merged 1 commit into
Kong:masterfrom
hilmarf:master
Nov 28, 2019
Merged

Headers: add toString() for nicer logging/debugging#321
ryber merged 1 commit into
Kong:masterfrom
hilmarf:master

Conversation

@hilmarf

@hilmarf hilmarf commented Nov 28, 2019

Copy link
Copy Markdown
Contributor

nobody is interested in seeing things like:
kong.unirest.Headers@4dffff9
or
[kong.unirest.Headers$Entry@2904bc56, kong.unirest.Headers$Entry@7bb25046, kong.unirest.Headers$Entry@69b1e8f8]

Let's improve this.

Thanks,
Hilmar

@ryber ryber left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Hi @hilmarf, thank you for the contribution, I fully endorse this and I was planning on getting a new release out this morning so I will add it to that. One node for the future. We generally expect tests for all changes. Since this is a pretty safe change so I'll merge it. but next time if you have anything that might have a bigger impact on existing functionality you will want to have unit and behavioral tests

@ryber ryber merged commit 79fdc22 into Kong:master Nov 28, 2019
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