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

add negative value handling for isjson function #730

Merged
merged 2 commits into from
Jul 1, 2021

Conversation

AtsushiSakai
Copy link
Contributor

@AtsushiSakai AtsushiSakai commented Jun 30, 2021

I added negative value handling for isjson function and added some tests for it to fix #728.

@codecov-commenter
Copy link

codecov-commenter commented Jun 30, 2021

Codecov Report

Merging #730 (20d818d) into master (0bb9148) will decrease coverage by 0.24%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #730      +/-   ##
==========================================
- Coverage   76.96%   76.71%   -0.25%     
==========================================
  Files          37       37              
  Lines        2444     2444              
==========================================
- Hits         1881     1875       -6     
- Misses        563      569       +6     
Impacted Files Coverage Δ
src/sniff.jl 84.96% <100.00%> (ø)
src/RetryRequest.jl 55.00% <0.00%> (-5.00%) ⬇️
src/access_log.jl 89.83% <0.00%> (-3.39%) ⬇️
src/Servers.jl 85.09% <0.00%> (-1.25%) ⬇️
src/Messages.jl 87.76% <0.00%> (-0.72%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0bb9148...20d818d. Read the comment docs.

@fredrikekre
Copy link
Member

LGTM, can you add an entry in the CHANGELOG?

AtsushiSakai added a commit to AtsushiSakai/HTTP.jl that referenced this pull request Jun 30, 2021
@AtsushiSakai
Copy link
Contributor Author

Thank for your review. I updated the CHANGELOG.md.

@fredrikekre fredrikekre merged commit 0bc0369 into JuliaWeb:master Jul 1, 2021
@AtsushiSakai AtsushiSakai deleted the fix_sniff branch August 14, 2021 02:38
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.

HTTP.sniff does not detect JSON correctly when the json has a negative value?
3 participants