-
Notifications
You must be signed in to change notification settings - Fork 258
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
Body encoding #259
Body encoding #259
Conversation
Thanks for proposing this change! It looks like the CI build now has some failed tests in light of this change. Do you mind taking a look at those? |
I am looking into the failures tonight. I'll post back once I have them fixed. |
I accidentally closed and commented. The pull request is still valid, I will post once I have the tests taken care of. |
…ody is character and looking for charset
Codecov Report
@@ Coverage Diff @@
## master #259 +/- ##
==========================================
+ Coverage 88.26% 88.32% +0.06%
==========================================
Files 24 24
Lines 1227 1242 +15
==========================================
+ Hits 1083 1097 +14
- Misses 144 145 +1
Continue to review full report at Codecov.
|
This should fix #153. I added a test to validate that it does handle encoding issues, also I tested locally on my windows partition that it was broken and isn't now. #153: Cannot POST in UTF-8 under windows #259: Body Encoding * setting encoding to fix windows problems * changing where setting encoding to ease testing * adding test for encoding * fixing encoding test (windows botched commit) * fixing bad assumption that everything is UTF-8, now checking if the body is character and looking for charset * adding a test for postBodyFilter * natural collate order * lints Co-authored-by: Jeremy Farrell @farrjere
Closing as merged in #264 |
This should fix #153. I added a test to validate that it does handle encoding issues, also I tested locally on my windows partition that it was broken and isn't now.
I couldn't see any rules for contributing so please let me know if there is something else I need to do. I did sign the agreement though.