pladdy / cabby

TAXII 2 server in Golang
MIT License
0 stars 0 forks source link

Add bytes to http logs #42

Closed pladdy closed 6 years ago

pladdy commented 6 years ago

What's new

How to test

make test Also make run In another terminal curl -sk -basic -u test@cabby.com:test-password -H 'Accept: application/vnd.oasis.taxii+json' 'https://localhost:1234/taxii/' | jq . Go back to where cabby is running and check the last log (has bytes in it)

codecov-io commented 6 years ago

Codecov Report

Merging #42 into master will decrease coverage by 0.21%. The diff coverage is 73.33%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #42      +/-   ##
==========================================
- Coverage   95.18%   94.96%   -0.22%     
==========================================
  Files          25       25              
  Lines        1621     1630       +9     
==========================================
+ Hits         1543     1548       +5     
- Misses         44       47       +3     
- Partials       34       35       +1
Impacted Files Coverage Δ
http/handlers.go 100% <100%> (ø) :arrow_up:
http/server.go 100% <100%> (ø) :arrow_up:
http/responses.go 82.85% <33.33%> (-4.65%) :arrow_down:
context.go 90.47% <77.77%> (-9.53%) :arrow_down:

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 30e0fc4...e1a862c. Read the comment docs.