Merge lp:~gesha/linaro-license-protection/add-exception-hosts into lp:~linaro-automation/linaro-license-protection/trunk
Proposed by
Georgy Redkozubov
Status: | Merged |
---|---|
Approved by: | James Tunnicliffe |
Approved revision: | 91 |
Merged at revision: | 94 |
Proposed branch: | lp:~gesha/linaro-license-protection/add-exception-hosts |
Merge into: | lp:~linaro-automation/linaro-license-protection/trunk |
Diff against target: |
173 lines (+113/-1) (has conflicts) 4 files modified
license_protected_downloads/config.py (+7/-0) license_protected_downloads/tests/test_views.py (+48/-0) license_protected_downloads/views.py (+17/-1) license_protected_downloads/wsgi.py (+41/-0) Text conflict in license_protected_downloads/tests/test_views.py Text conflict in license_protected_downloads/views.py |
To merge this branch: | bzr merge lp:~gesha/linaro-license-protection/add-exception-hosts |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
James Tunnicliffe (community) | Approve | ||
Review via email: mp+116455@code.launchpad.net |
Description of the change
This branch add hosts that are always allowed to get through the click-through license protection and lost wsgi.py
To post a comment you must log in.
Please add a unit test for get_client_ip. I assume you can just push some fake headers through it to make sure that the machines in INTERNAL_HOSTS get through and others don't.