mozilla-services / bouncer-admin

The admin interface for https://github.com/mozilla-services/go-bouncer/.
Mozilla Public License 2.0
1 stars 1 forks source link

Limit content length on POST requests to 500 KB #47

Closed AmanuelAaron closed 5 years ago

codecov-io commented 5 years ago

Codecov Report

Merging #47 into master will increase coverage by 0.15%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #47      +/-   ##
==========================================
+ Coverage    89.3%   89.46%   +0.15%     
==========================================
  Files           7        7              
  Lines         823      835      +12     
==========================================
+ Hits          735      747      +12     
  Misses         88       88
Impacted Files Coverage Δ
nazgul/__init__.py 87.5% <100%> (+0.83%) :arrow_up:
tests/test_api.py 97.66% <100%> (+0.08%) :arrow_up:
nazgul/api.py 80.07% <100%> (+0.39%) :arrow_up:

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 445a28c...e824245. Read the comment docs.

AmanuelAaron commented 5 years ago

@jbuck Updated to have app.config['MAX_CONTENT_LENGTH'] and added a handler so that it returns XML