Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Clean up HTTP component * Clean up HTTP mock * Remove unused import * Fix test * Lint
- Loading branch information
Showing
28 changed files
with
828 additions
and
1,031 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,3 @@ | ||
"""HTTP specific constants.""" | ||
KEY_AUTHENTICATED = 'ha_authenticated' | ||
KEY_USE_X_FORWARDED_FOR = 'ha_use_x_forwarded_for' | ||
KEY_TRUSTED_NETWORKS = 'ha_trusted_networks' | ||
KEY_REAL_IP = 'ha_real_ip' | ||
KEY_BANS_ENABLED = 'ha_bans_enabled' | ||
KEY_BANNED_IPS = 'ha_banned_ips' | ||
KEY_FAILED_LOGIN_ATTEMPTS = 'ha_failed_login_attempts' | ||
KEY_LOGIN_THRESHOLD = 'ha_login_threshold' | ||
|
||
HTTP_HEADER_X_FORWARDED_FOR = 'X-Forwarded-For' |
Oops, something went wrong.