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
""" | |
Implementation of the Selenium Chrome WebDriver | |
with HTTP Response data included via the ChromeDriver performance logging capability | |
https://sites.google.com/a/chromium.org/chromedriver/logging/performance-log | |
The ChromeWebDriver response attribute(s) contain a dict with information about the response | |
{ | |
"connectionId": [Integer], | |
"connectionReused": [Boolean], | |
"encodedDataLength": [Integer], |
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
def config_from_ini(app, config_file = None, section='flask'): | |
""" | |
Configure Flask from an INI file | |
Parameters: | |
app - Flask application instance | |
config_file - Path to the configuration file (INI format) | |
section - Section name to load key/values from | |
""" | |
if config_file is None: | |
config_file = os.path.join(os.path.dirname(__file__), '..', 'config.ini') |
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
use warnings; | |
use strict; | |
use Carp; | |
use XML::Tidy; | |
use MIME::Base64 qw(encode_base64 decode_base64); | |
use URI::Escape qw(uri_escape uri_unescape); | |
use IO::Uncompress::RawInflate qw(rawinflate $RawInflateError); | |
use IO::Compress::RawDeflate qw(rawdeflate $RawDeflateError); | |
sub decode_samlAuthnRequest{ |