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

Cleaned up Include_body_for, added additional debugging and Added Exclude_body_for option #130

Closed
wants to merge 9 commits into from

Conversation

eperry
Copy link
Contributor

@eperry eperry commented May 17, 2015

I noticed that there was no easy way to include all content-try by default, so I added a way to handle an empty array Include_body_for=[]

Then I realized if I am including everything I might want to Exclude some things. So I implemented that option

I also noticed that none of the Http options were documented in the Config file (also noticed someone mentioning that in the issues list)

Added some extra debug to show which option is getting set
Move Debugging for "Printing" the http body from "http" to httpdetailed debug levels

I performed a quick test on the new Include_body_for =[] and Exclude_body_for=["image/"] seems to work well

[http]
Include_body_for=[]
Send_all_headers=true
Strip_authorization=false
Split_cookie=true

Moved Initialization for Http.Include_body_for to Initialization function
Added Varable checking before setting values for config varables
Added Debugging to Initialization function logging Debug as http
Changed Debug Level of shouldInclude to httpdetailed from http
I removed a code section at ~line 403 to 406  which should not have been. I restored those lines
@eperry
Copy link
Contributor Author

eperry commented May 17, 2015

I watched the CI Build and it looks like the Master Branch is failing so it does not look like this PR broke the tests, but if I get a chance tonight I will review

@eperry
Copy link
Contributor Author

eperry commented May 17, 2015

Never mind, I re-checked out my fork, seems I broke something, going to cancel this pull request till I discover what is up

@eperry eperry closed this May 17, 2015
monicasarbu added a commit that referenced this pull request Dec 2, 2015
Merge adding per core support
@monicasarbu monicasarbu mentioned this pull request Dec 2, 2015
3 tasks
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