Upgrading Werkzeug 0.9 to 0.10
Breaking0.9.6 → 0.10.4Breaking2New10Changed7Fixed19Other2
BreakingUpgrade verdict
2 breaking changes.
In plain terms
- Building URLs from a MultiDict is no longer allowed, because that feature caused several problems.
- The development server now uses Python's built-in SSL support, so custom OpenSSL contexts no longer work.
Must act 2 items need code or config changes
What you must change
Breaking2
Removes support for using
MultiDict when building URLs again, reverting behavior that introduced several regressions.MultiDictUses the stdlib ssl module instead of OpenSSL for the builtin server, dropping OpenSSL context support.
sslOpenSSLssl.SSLContextAPI changes
Generated by DepDelta from published Python source. Not mixed with prose notes.
- removed:
export make_app
- removed:
class CoolMagicApplication(object) - removed:
constructor CoolMagicApplication(config) - removed:
function make_app(config=…)
- removed:
variable request
- removed:
class Request(BaseRequest) - removed:
class Response(BaseResponse) - removed:
class TemplateResponse(Response) - removed:
class ThreadedRequest(object) - removed:
constructor Request(environ, url_adapter) - removed:
constructor TemplateResponse(template_name, **values) - removed:
field Request.charset - removed:
field Response.charset - removed:
field Response.default_mimetype - removed:
function export(string, template=…, **extra) - removed:
function url_for(endpoint, **values) - removed:
variable exported_views - removed:
variable local - removed:
variable local_manager - removed:
variable template_env
- removed:
function about() - removed:
function broken() - removed:
function index() - removed:
function not_found()
- removed:
class Couchy(object) - removed:
constructor Couchy(db_uri) - removed:
method Couchy.dispatch(environ, start_response)
- removed:
class URL(Document) - removed:
field URL.added - removed:
field URL.db - removed:
field URL.public - removed:
field URL.shorty_id - removed:
field URL.target - removed:
method URL.store() - removed:
property URL.short_url - removed:
static method URL.load(id) - removed:
static method URL.query(code)
- removed:
class Pagination(object) - removed:
constructor Pagination(results, per_page, page, endpoint) - removed:
field Pagination.has_next - removed:
field Pagination.has_previous - removed:
field Pagination.next - removed:
field Pagination.pages - removed:
field Pagination.previous - removed:
function expose(rule, **kw) - removed:
function get_random_uid() - removed:
function render_template(template, **context) - removed:
function url_for(endpoint, _external=…, **values) - removed:
function validate_url(url) - removed:
property Pagination.count - removed:
property Pagination.entries - removed:
variable ALLOWED_SCHEMES - removed:
variable STATIC_PATH - removed:
variable TEMPLATE_PATH - removed:
variable URL_CHARS - removed:
variable application - removed:
variable jinja_env - removed:
variable local - removed:
variable local_manager - removed:
variable url_map
- removed:
function display(request, uid) - removed:
function link(request, uid) - removed:
function list(request, page) - removed:
function new(request) - removed:
function not_found(request)
- removed:
export make_app
- removed:
class Cup(object) - removed:
class Page(object) - removed:
class PageMeta(type) - removed:
constructor Cup(database, interval=…) - removed:
constructor Page(cup, request, url_adapter) - removed:
constructor PageMeta(name, bases, d) - removed:
field Page.url_arguments - removed:
field PageMeta.identifier - removed:
function make_app(database, interval=…) - removed:
method Cup.dispatch_request(request) - removed:
method Cup.update_master() - removed:
method Page.get_response() - removed:
method Page.process() - removed:
method Page.render_template(template=…) - removed:
method Page.url_for(endpoint, **values) - removed:
variable pages - removed:
variable templates - removed:
variable url_map
- removed:
class Database(object) - removed:
constructor Database(filename) - removed:
method Database.close() - removed:
method Database.setdefault(key, factory) - removed:
method Database.sync()
- removed:
class MissingPage(Page) - removed:
class Search(Page) - removed:
class Server(Page) - removed:
class ServerList(Page) - removed:
field Search.url_rule - removed:
field Server.url_rule - removed:
field ServerList.url_rule - removed:
method MissingPage.get_response() - removed:
method Search.process() - removed:
method Server.process(id) - removed:
method ServerList.order_link(name, title) - removed:
method ServerList.process()
- removed:
function unicodecmp(a, b)
- removed:
export make_app
- removed:
class Application(object) - removed:
class Request(BaseRequest) - removed:
class Response(BaseResponse) - removed:
class TemplateResponse(Response) - removed:
constructor Application() - removed:
constructor Request(environ, urls) - removed:
constructor TemplateResponse(template_name, **values) - removed:
function expose(name) - removed:
method Request.url_for(endpoint, **args) - removed:
method TemplateResponse.render_template(name, values) - removed:
variable TEMPLATES - removed:
variable views
- removed:
variable map
- removed:
function about(req) - removed:
function blog_index(req) - removed:
function blog_show(req, post_id) - removed:
function index(req) - removed:
function page_not_found(req)
- removed:
export Plnt
- removed:
class Blog(object) - removed:
class Entry(object) - removed:
constructor Blog(name, url, feed_url, description=…) - removed:
field Blog.query - removed:
field Entry.query - removed:
function new_db_session() - removed:
variable blog_table - removed:
variable entry_table - removed:
variable metadata - removed:
variable session
- removed:
function sync() - removed:
variable HTML_MIMETYPES
- removed:
class Pagination(object) - removed:
constructor Pagination(query, per_page, page, endpoint) - removed:
field Pagination.has_next - removed:
field Pagination.has_previous - removed:
field Pagination.next - removed:
field Pagination.pages - removed:
field Pagination.previous - removed:
function expose(url_rule, endpoint=…, **kwargs) - removed:
function nl2p(s) - removed:
function render_template(template_name, **context) - removed:
function strip_tags(s) - removed:
function url_for(endpoint, **kw) - removed:
property Pagination.count - removed:
property Pagination.entries - removed:
variable application - removed:
variable endpoints - removed:
variable html_entities - removed:
variable jinja_env - removed:
variable local - removed:
variable local_manager - removed:
variable request - removed:
variable template_path - removed:
variable url_adapter - removed:
variable url_map
- removed:
function about(request) - removed:
function index(request, page) - removed:
variable PER_PAGE
- removed:
class Plnt(object) - removed:
constructor Plnt(database_uri) - removed:
method Plnt.bind_to_context() - removed:
method Plnt.dispatch_request(environ, start_response) - removed:
method Plnt.init_database() - removed:
variable SHARED_DATA
- removed:
class Shorty(object) - removed:
constructor Shorty(db_uri) - removed:
method Shorty.dispatch(environ, start_response) - removed:
method Shorty.init_database()
- removed:
class URL(object) - removed:
constructor URL(target, public=…, uid=…, added=…) - removed:
field URL.query - removed:
property URL.short_url - removed:
variable url_table
- removed:
class Pagination(object) - removed:
constructor Pagination(query, per_page, page, endpoint) - removed:
field Pagination.has_next - removed:
field Pagination.has_previous - removed:
field Pagination.next - removed:
field Pagination.pages - removed:
field Pagination.previous - removed:
function expose(rule, **kw) - removed:
function get_random_uid() - removed:
function render_template(template, **context) - removed:
function url_for(endpoint, _external=…, **values) - removed:
function validate_url(url) - removed:
property Pagination.count - removed:
property Pagination.entries - removed:
variable ALLOWED_SCHEMES - removed:
variable STATIC_PATH - removed:
variable TEMPLATE_PATH - removed:
variable URL_CHARS - removed:
variable application - removed:
variable jinja_env - removed:
variable local - removed:
variable local_manager - removed:
variable metadata - removed:
variable session - removed:
variable url_map
- removed:
function display(request, uid) - removed:
function link(request, uid) - removed:
function list(request, page) - removed:
function new(request) - removed:
function not_found(request)
- removed:
export SimpleWiki
- removed:
function missing_action(request, action) - removed:
function on_diff(request, page_name) - removed:
function on_edit(request, page_name) - removed:
function on_log(request, page_name) - removed:
function on_revert(request, page_name) - removed:
function on_show(request, page_name) - removed:
function page_missing(request, page_name, revision_requested, protected=…)
- removed:
class SimpleWiki(object) - removed:
constructor SimpleWiki(database_uri) - removed:
method SimpleWiki.bind_to_context() - removed:
method SimpleWiki.dispatch_request(environ, start_response) - removed:
method SimpleWiki.init_database() - removed:
variable SHARED_DATA
- removed:
class Page(object) - removed:
class Revision(object) - removed:
class RevisionedPage(Page, Revision) - removed:
constructor Page(name) - removed:
constructor Revision(page, text, change_note=…, timestamp=…) - removed:
constructor RevisionedPage() - removed:
field Page.query - removed:
field Revision.query - removed:
field RevisionedPage.query - removed:
function new_db_session() - removed:
method Revision.render() - removed:
property Page.title - removed:
variable metadata - removed:
variable page_table - removed:
variable revision_table - removed:
variable session
- removed:
function page_index(request) - removed:
function page_not_found(request, page_name) - removed:
function recent_changes(request) - removed:
variable pages
- removed:
class Pagination(object) - removed:
class Request(BaseRequest) - removed:
class Response(BaseResponse) - removed:
constructor Pagination(query, per_page, page, link) - removed:
constructor Response(response=…, status=…, headers=…, mimetype=…, content_type=…) - removed:
field Response.default_mimetype - removed:
function format_datetime(obj) - removed:
function generate_template(template_name, **context) - removed:
function href(*args, **kw) - removed:
function parse_creole(markup) - removed:
method Request.bind_to_context() - removed:
property Pagination.count - removed:
property Pagination.entries - removed:
property Pagination.has_next - removed:
property Pagination.has_previous - removed:
property Pagination.next - removed:
property Pagination.pages - removed:
property Pagination.previous - removed:
variable TEMPLATE_PATH - removed:
variable application - removed:
variable creole_parser - removed:
variable local - removed:
variable local_manager - removed:
variable request - removed:
variable template_loader
- changed:
constructor RedisCache(host=…, port=…, password=…, db=…, default_timeout=…, key_prefix=…) → constructor RedisCache(host=…, port=…, password=…, db=…, default_timeout=…, key_prefix=…, **kwargs)
- added:
class UUIDConverter(BaseConverter) - added:
field UUIDConverter.regex - added:
method Rule.get_empty_kwargs() - added:
method UUIDConverter.to_python(value) - added:
method UUIDConverter.to_url(value)
- removed:
function restart_with_reloader() - removed:
variable reloader_loop - changed:
function load_ssl_context(cert_file, pkey_file) → function load_ssl_context(cert_file, pkey_file=…, protocol=…) - changed:
function run_simple(hostname, port, application, use_reloader=…, use_debugger=…, use_evalex=…, extra_files=…, reloader_interval=…, threaded=…, processes=…, request_handler=…, static_files=…, passthrough_errors=…, ssl_context=…) → function run_simple(hostname, port, application, use_reloader=…, use_debugger=…, use_evalex=…, extra_files=…, reloader_interval=…, reloader_type=…, threaded=…, processes=…, request_handler=…, static_files=…, passthrough_errors=…, ssl_context=…) - changed:
function run_with_reloader(main_func, extra_files=…, interval=…) → function run_with_reloader(*args, **kwargs) - added:
function is_running_from_reloader()
- removed:
class BetterLoader(unittest.TestLoader) - removed:
class WerkzeugTestCase(unittest.TestCase) - removed:
export find_modules - removed:
export integer_types - removed:
export reraise - removed:
export text_type - removed:
function find_all_tests(suite) - removed:
function get_temporary_directory() - removed:
function iter_suites(package) - removed:
function main() - removed:
function suite() - removed:
method BetterLoader.getRootSuite() - removed:
method BetterLoader.loadTestsFromName(name, module=…) - removed:
method WerkzeugTestCase.assertIn(x, y) - removed:
method WerkzeugTestCase.assertIs(x, y) - removed:
method WerkzeugTestCase.assertIsInstance(x, y) - removed:
method WerkzeugTestCase.assertIsNone(x) - removed:
method WerkzeugTestCase.assertIsNot(x, y) - removed:
method WerkzeugTestCase.assertIsNotNone(x) - removed:
method WerkzeugTestCase.assertNotIn(x, y) - removed:
method WerkzeugTestCase.assertRaisesRegex(*args, **kwargs) - removed:
method WerkzeugTestCase.assertSequenceEqual(x, y) - removed:
method WerkzeugTestCase.assert_equal(x, y, msg=…) - removed:
method WerkzeugTestCase.assert_false(x) - removed:
method WerkzeugTestCase.assert_in(x, y) - removed:
method WerkzeugTestCase.assert_is(x, y) - removed:
method WerkzeugTestCase.assert_is_instance(x, y) - removed:
method WerkzeugTestCase.assert_is_none(x) - removed:
method WerkzeugTestCase.assert_is_not(x, y) - removed:
method WerkzeugTestCase.assert_is_not_none(x) - removed:
method WerkzeugTestCase.assert_line_equal(x, y) - removed:
method WerkzeugTestCase.assert_not_equal(x, y) - removed:
method WerkzeugTestCase.assert_not_in(x, y) - removed:
method WerkzeugTestCase.assert_raises(exc_type, callable=…, *args, **kwargs) - removed:
method WerkzeugTestCase.assert_raises_regex(*args, **kwargs) - removed:
method WerkzeugTestCase.assert_sequence_equal(x, y) - removed:
method WerkzeugTestCase.assert_strict_equal(x, y) - removed:
method WerkzeugTestCase.assert_true(x) - removed:
method WerkzeugTestCase.setUp() - removed:
method WerkzeugTestCase.setup() - removed:
method WerkzeugTestCase.tearDown() - removed:
method WerkzeugTestCase.teardown()
- removed:
class CompatTestCase(WerkzeugTestCase) - removed:
function suite() - removed:
method CompatTestCase.test_exposed_werkzeug_mod() - removed:
method CompatTestCase.test_old_imports()
- removed:
export iter_suites - removed:
function suite()
- removed:
class FileSystemCacheTestCase(WerkzeugTestCase) - removed:
class MemcachedCacheTestCase(WerkzeugTestCase) - removed:
class RedisCacheTestCase(WerkzeugTestCase) - removed:
class SimpleCacheTestCase(WerkzeugTestCase) - removed:
function suite() - removed:
method FileSystemCacheTestCase.test_filesystemcache_clear() - removed:
method FileSystemCacheTestCase.test_filesystemcache_prune() - removed:
method FileSystemCacheTestCase.test_set_get() - removed:
method MemcachedCacheTestCase.make_cache() - removed:
method MemcachedCacheTestCase.teardown() - removed:
method MemcachedCacheTestCase.test_add() - removed:
method MemcachedCacheTestCase.test_compat() - removed:
method MemcachedCacheTestCase.test_delete() - removed:
method MemcachedCacheTestCase.test_delete_many() - removed:
method MemcachedCacheTestCase.test_expire() - removed:
method MemcachedCacheTestCase.test_get_many() - removed:
method MemcachedCacheTestCase.test_get_set() - removed:
method MemcachedCacheTestCase.test_inc_dec() - removed:
method MemcachedCacheTestCase.test_set_many() - removed:
method MemcachedCacheTestCase.test_true_false() - removed:
method RedisCacheTestCase.make_cache() - removed:
method RedisCacheTestCase.teardown() - removed:
method RedisCacheTestCase.test_add() - removed:
method RedisCacheTestCase.test_compat() - removed:
method RedisCacheTestCase.test_delete() - removed:
method RedisCacheTestCase.test_delete_many() - removed:
method RedisCacheTestCase.test_expire() - removed:
method RedisCacheTestCase.test_get_many() - removed:
method RedisCacheTestCase.test_get_set() - removed:
method RedisCacheTestCase.test_inc_dec() - removed:
method RedisCacheTestCase.test_set_many() - removed:
method RedisCacheTestCase.test_true_false() - removed:
method SimpleCacheTestCase.test_get_dict() - removed:
method SimpleCacheTestCase.test_set_many() - removed:
variable memcache - removed:
variable redis
- removed:
class BrowserFixerTestCase(WerkzeugTestCase) - removed:
class ServerFixerTestCase(WerkzeugTestCase) - removed:
function path_check_app(request) - removed:
function suite() - removed:
method BrowserFixerTestCase.test_ie_fixes() - removed:
method ServerFixerTestCase.test_cgi_root_fix() - removed:
method ServerFixerTestCase.test_cgi_root_fix_custom_app_root() - removed:
method ServerFixerTestCase.test_header_rewriter_fix() - removed:
method ServerFixerTestCase.test_path_info_from_request_uri_fix() - removed:
method ServerFixerTestCase.test_proxy_fix() - removed:
method ServerFixerTestCase.test_proxy_fix_weird_enum()
- removed:
class IterITestSuite(WerkzeugTestCase) - removed:
class IterOTestSuite(WerkzeugTestCase) - removed:
function suite() - removed:
method IterITestSuite.test_basic() - removed:
method IterITestSuite.test_sentinel_cases() - removed:
method IterOTestSuite.test_basic_bytes() - removed:
method IterOTestSuite.test_basic_native() - removed:
method IterOTestSuite.test_basic_unicode() - removed:
method IterOTestSuite.test_sentinel_cases()
- removed:
class SecureCookieTestCase(WerkzeugTestCase) - removed:
function suite() - removed:
method SecureCookieTestCase.test_basic_support() - removed:
method SecureCookieTestCase.test_wrapper_support()
- removed:
class SessionTestCase(WerkzeugTestCase) - removed:
function suite() - removed:
method SessionTestCase.setup() - removed:
method SessionTestCase.teardown() - removed:
method SessionTestCase.test_basic_fs_sessions() - removed:
method SessionTestCase.test_default_tempdir() - removed:
method SessionTestCase.test_fs_session_lising() - removed:
method SessionTestCase.test_non_urandom() - removed:
method SessionTestCase.test_renewing_fs_session()
- removed:
class WrappersTestCase(WerkzeugTestCase) - removed:
function suite() - removed:
method WrappersTestCase.test_dynamic_charset_request_mixin() - removed:
method WrappersTestCase.test_dynamic_charset_response_mixin() - removed:
method WrappersTestCase.test_reverse_slash_behavior()
- removed:
class CallbackDictTestCase(WerkzeugTestCase) - removed:
class CombinedMultiDictTestCase(WerkzeugTestCase) - removed:
class EnvironHeadersTestCase(WerkzeugTestCase) - removed:
class HeaderSetTestCase(WerkzeugTestCase) - removed:
class HeadersTestCase(WerkzeugTestCase) - removed:
class ImmutableDictBaseTestCase(WerkzeugTestCase) - removed:
class ImmutableDictTestCase(ImmutableDictBaseTestCase) - removed:
class ImmutableListTestCase(WerkzeugTestCase) - removed:
class ImmutableMultiDictTestCase(ImmutableDictBaseTestCase) - removed:
class ImmutableOrderedMultiDictTestCase(ImmutableDictBaseTestCase) - removed:
class ImmutableTypeConversionDictTestCase(ImmutableDictBaseTestCase) - removed:
class MultiDictTestCase(MutableMultiDictBaseTestCase) - removed:
class MutableMultiDictBaseTestCase(WerkzeugTestCase) - removed:
class NativeItermethodsTestCase(WerkzeugTestCase) - removed:
class OrderedMultiDictTestCase(MutableMultiDictBaseTestCase) - removed:
field CallbackDictTestCase.storage_class - removed:
field CombinedMultiDictTestCase.storage_class - removed:
field EnvironHeadersTestCase.storage_class - removed:
field HeaderSetTestCase.storage_class - removed:
field HeadersTestCase.storage_class - removed:
field ImmutableDictBaseTestCase.storage_class - removed:
field ImmutableDictTestCase.storage_class - removed:
field ImmutableListTestCase.storage_class - removed:
field ImmutableMultiDictTestCase.storage_class - removed:
field ImmutableOrderedMultiDictTestCase.storage_class - removed:
field ImmutableTypeConversionDictTestCase.storage_class - removed:
field MultiDictTestCase.storage_class - removed:
field MutableMultiDictBaseTestCase.storage_class - removed:
field OrderedMultiDictTestCase.storage_class - removed:
function make_call_asserter(assert_equal_func, func=…) - removed:
function suite() - removed:
method CallbackDictTestCase.test_callback_dict_reads() - removed:
method CallbackDictTestCase.test_callback_dict_writes() - removed:
method CombinedMultiDictTestCase.test_basic_interface() - removed:
method EnvironHeadersTestCase.test_basic_interface() - removed:
method EnvironHeadersTestCase.test_bytes_operations() - removed:
method EnvironHeadersTestCase.test_return_type_is_unicode() - removed:
method HeaderSetTestCase.test_basic_interface() - removed:
method HeadersTestCase.test_basic_interface() - removed:
method HeadersTestCase.test_bytes_operations() - removed:
method HeadersTestCase.test_copying() - removed:
method HeadersTestCase.test_defaults_and_conversion() - removed:
method HeadersTestCase.test_popping() - removed:
method HeadersTestCase.test_reject_newlines() - removed:
method HeadersTestCase.test_set_arguments() - removed:
method HeadersTestCase.test_slicing() - removed:
method HeadersTestCase.test_to_wsgi_list() - removed:
method ImmutableDictBaseTestCase.test_copies_are_mutable() - removed:
method ImmutableDictBaseTestCase.test_dict_is_hashable() - removed:
method ImmutableDictBaseTestCase.test_follows_dict_interface() - removed:
method ImmutableListTestCase.test_list_hashable() - removed:
method ImmutableMultiDictTestCase.test_multidict_is_hashable() - removed:
method ImmutableOrderedMultiDictTestCase.test_ordered_multidict_is_hashable() - removed:
method MultiDictTestCase.test_iter_interfaces() - removed:
method MultiDictTestCase.test_multidict_pop() - removed:
method MultiDictTestCase.test_setlistdefault() - removed:
method MutableMultiDictBaseTestCase.test_basic_interface() - removed:
method MutableMultiDictBaseTestCase.test_pickle() - removed:
method NativeItermethodsTestCase.test_basic() - removed:
method OrderedMultiDictTestCase.test_iterables() - removed:
method OrderedMultiDictTestCase.test_ordered_interface()
- removed:
class DebugHelpersTestCase(WerkzeugTestCase) - removed:
class DebugReprTestCase(WerkzeugTestCase) - removed:
class Foo(object) - removed:
constructor Foo() - removed:
field Foo.x - removed:
field Foo.y - removed:
function suite() - removed:
method DebugHelpersTestCase.test_debug_dump() - removed:
method DebugHelpersTestCase.test_debug_help() - removed:
method DebugHelpersTestCase.test_object_dumping() - removed:
method DebugReprTestCase.test_basic_repr() - removed:
method DebugReprTestCase.test_broken_repr() - removed:
method DebugReprTestCase.test_custom_repr() - removed:
method DebugReprTestCase.test_list_subclass_repr() - removed:
method DebugReprTestCase.test_mapping_repr() - removed:
method DebugReprTestCase.test_recursive_repr() - removed:
method DebugReprTestCase.test_regex_repr() - removed:
method DebugReprTestCase.test_sequence_repr() - removed:
method DebugReprTestCase.test_set_repr()
- removed:
class ExceptionsTestCase(WerkzeugTestCase) - removed:
function suite() - removed:
method ExceptionsTestCase.test_aborter() - removed:
method ExceptionsTestCase.test_exception_repr() - removed:
method ExceptionsTestCase.test_proxy_exception() - removed:
method ExceptionsTestCase.test_special_exceptions()
- removed:
class FormParserTestCase(WerkzeugTestCase) - removed:
class InternalFunctionsTestCase(WerkzeugTestCase) - removed:
class MultiPartTestCase(WerkzeugTestCase) - removed:
function form_data_consumer(request) - removed:
function get_contents(filename) - removed:
function suite() - removed:
method FormParserTestCase.test_large_file() - removed:
method FormParserTestCase.test_limiting() - removed:
method FormParserTestCase.test_missing_multipart_boundary() - removed:
method FormParserTestCase.test_parse_form_data_get_without_content() - removed:
method FormParserTestCase.test_parse_form_data_put_without_content() - removed:
method FormParserTestCase.test_streaming_parse() - removed:
method InternalFunctionsTestCase.test_find_terminator() - removed:
method InternalFunctionsTestCase.test_line_parser() - removed:
method MultiPartTestCase.test_bad_newline_bad_newline_assumption() - removed:
method MultiPartTestCase.test_basic() - removed:
method MultiPartTestCase.test_broken() - removed:
method MultiPartTestCase.test_empty_multipart() - removed:
method MultiPartTestCase.test_end_of_file() - removed:
method MultiPartTestCase.test_extra_newline() - removed:
method MultiPartTestCase.test_failures() - removed:
method MultiPartTestCase.test_file_no_content_type() - removed:
method MultiPartTestCase.test_headers() - removed:
method MultiPartTestCase.test_ie7_unc_path() - removed:
method MultiPartTestCase.test_nonstandard_line_endings()
- removed:
class HTTPUtilityTestCase(WerkzeugTestCase) - removed:
class RangeTestCase(WerkzeugTestCase) - removed:
class RegressionTestCase(WerkzeugTestCase) - removed:
function suite() - removed:
method HTTPUtilityTestCase.test_accept() - removed:
method HTTPUtilityTestCase.test_accept_matches() - removed:
method HTTPUtilityTestCase.test_authorization_header() - removed:
method HTTPUtilityTestCase.test_cache_control_header() - removed:
method HTTPUtilityTestCase.test_charset_accept() - removed:
method HTTPUtilityTestCase.test_cookie_domain_encoding() - removed:
method HTTPUtilityTestCase.test_cookie_domain_resolving() - removed:
method HTTPUtilityTestCase.test_cookie_quoting() - removed:
method HTTPUtilityTestCase.test_cookie_unicode_dumping() - removed:
method HTTPUtilityTestCase.test_cookie_unicode_keys() - removed:
method HTTPUtilityTestCase.test_cookie_unicode_parsing() - removed:
method HTTPUtilityTestCase.test_cookies() - removed:
method HTTPUtilityTestCase.test_date_formatting() - removed:
method HTTPUtilityTestCase.test_dict_header() - removed:
method HTTPUtilityTestCase.test_dump_header() - removed:
method HTTPUtilityTestCase.test_dump_options_header() - removed:
method HTTPUtilityTestCase.test_etags() - removed:
method HTTPUtilityTestCase.test_etags_nonzero() - removed:
method HTTPUtilityTestCase.test_is_resource_modified() - removed:
method HTTPUtilityTestCase.test_language_accept() - removed:
method HTTPUtilityTestCase.test_list_header() - removed:
method HTTPUtilityTestCase.test_mime_accept() - removed:
method HTTPUtilityTestCase.test_parse_date() - removed:
method HTTPUtilityTestCase.test_parse_date_overflows() - removed:
method HTTPUtilityTestCase.test_parse_options_header() - removed:
method HTTPUtilityTestCase.test_remove_entity_headers() - removed:
method HTTPUtilityTestCase.test_remove_hop_by_hop_headers() - removed:
method HTTPUtilityTestCase.test_set_header() - removed:
method HTTPUtilityTestCase.test_www_authenticate_header() - removed:
method RangeTestCase.test_content_range_parsing() - removed:
method RangeTestCase.test_if_range_parsing() - removed:
method RangeTestCase.test_range_parsing() - removed:
method RegressionTestCase.test_best_match_works()
- removed:
class InternalTestCase(WerkzeugTestCase) - removed:
function suite() - removed:
method InternalTestCase.test_date_to_unix() - removed:
method InternalTestCase.test_easteregg() - removed:
method InternalTestCase.test_wrapper_internals()
- removed:
class LocalTestCase(WerkzeugTestCase) - removed:
function suite() - removed:
method LocalTestCase.test_basic_local() - removed:
method LocalTestCase.test_custom_idents() - removed:
method LocalTestCase.test_local_proxies_with_callables() - removed:
method LocalTestCase.test_local_proxy() - removed:
method LocalTestCase.test_local_proxy_operations_math() - removed:
method LocalTestCase.test_local_proxy_operations_strings() - removed:
method LocalTestCase.test_local_release() - removed:
method LocalTestCase.test_local_stack()
- removed:
class RoutingTestCase(WerkzeugTestCase) - removed:
function suite() - removed:
method RoutingTestCase.test_adapter_match_return_rule() - removed:
method RoutingTestCase.test_adapter_url_parameter_sorting() - removed:
method RoutingTestCase.test_alias_redirects() - removed:
method RoutingTestCase.test_allowed_methods_querying() - removed:
method RoutingTestCase.test_basic_building() - removed:
method RoutingTestCase.test_basic_routing() - removed:
method RoutingTestCase.test_build_append_unknown() - removed:
method RoutingTestCase.test_complex_routing_rules() - removed:
method RoutingTestCase.test_converter_parser() - removed:
method RoutingTestCase.test_default_converters() - removed:
method RoutingTestCase.test_defaults() - removed:
method RoutingTestCase.test_dispatch() - removed:
method RoutingTestCase.test_double_defaults() - removed:
method RoutingTestCase.test_environ_defaults() - removed:
method RoutingTestCase.test_environ_nonascii_pathinfo() - removed:
method RoutingTestCase.test_external_building_with_port() - removed:
method RoutingTestCase.test_external_building_with_port_bind_to_environ() - removed:
method RoutingTestCase.test_external_building_with_port_bind_to_environ_wrong_servername() - removed:
method RoutingTestCase.test_greedy() - removed:
method RoutingTestCase.test_host_matching() - removed:
method RoutingTestCase.test_http_host_before_server_name() - removed:
method RoutingTestCase.test_implicit_head() - removed:
method RoutingTestCase.test_map_repr() - removed:
method RoutingTestCase.test_method_fallback() - removed:
method RoutingTestCase.test_non_string_parts() - removed:
method RoutingTestCase.test_path() - removed:
method RoutingTestCase.test_protocol_joining_bug() - removed:
method RoutingTestCase.test_redirect_path_quoting() - removed:
method RoutingTestCase.test_redirect_request_exception_code() - removed:
method RoutingTestCase.test_request_direct_charset_bug() - removed:
method RoutingTestCase.test_request_redirect_default() - removed:
method RoutingTestCase.test_request_redirect_default_subdomain() - removed:
method RoutingTestCase.test_rule_emptying() - removed:
method RoutingTestCase.test_rule_templates() - removed:
method RoutingTestCase.test_server_name_casing() - removed:
method RoutingTestCase.test_server_name_interpolation() - removed:
method RoutingTestCase.test_unicode_rules()
- removed:
class SecurityTestCase(WerkzeugTestCase) - removed:
function suite() - removed:
method SecurityTestCase.test_password_hashing() - removed:
method SecurityTestCase.test_pbkdf2() - removed:
method SecurityTestCase.test_safe_join() - removed:
method SecurityTestCase.test_safe_str_cmp()
- removed:
class ServingTestCase(WerkzeugTestCase) - removed:
function run_dev_server(application) - removed:
function silencestderr(f) - removed:
function suite() - removed:
method ServingTestCase.test_absolute_requests() - removed:
method ServingTestCase.test_broken_app() - removed:
method ServingTestCase.test_serving() - removed:
variable real_make_server
- removed:
class URLsTestCase(WerkzeugTestCase) - removed:
function suite() - removed:
method URLsTestCase.test_bytes_unquoting() - removed:
method URLsTestCase.test_href() - removed:
method URLsTestCase.test_href_past_root() - removed:
method URLsTestCase.test_href_url_join() - removed:
method URLsTestCase.test_iri_safe_conversion() - removed:
method URLsTestCase.test_iri_safe_quoting() - removed:
method URLsTestCase.test_iri_support() - removed:
method URLsTestCase.test_iri_to_uri_idempotence_ascii_only() - removed:
method URLsTestCase.test_iri_to_uri_idempotence_non_ascii() - removed:
method URLsTestCase.test_iri_to_uri_to_iri() - removed:
method URLsTestCase.test_multidict_encoding() - removed:
method URLsTestCase.test_ordered_multidict_encoding() - removed:
method URLsTestCase.test_partial_unencoded_decode() - removed:
method URLsTestCase.test_quoting() - removed:
method URLsTestCase.test_quoting_of_local_urls() - removed:
method URLsTestCase.test_replace() - removed:
method URLsTestCase.test_sorted_url_encode() - removed:
method URLsTestCase.test_stream_decoding_string_fails() - removed:
method URLsTestCase.test_streamed_url_decoding() - removed:
method URLsTestCase.test_streamed_url_encoding() - removed:
method URLsTestCase.test_uri_iri_normalization() - removed:
method URLsTestCase.test_uri_to_iri_idempotence_ascii_only() - removed:
method URLsTestCase.test_uri_to_iri_idempotence_non_ascii() - removed:
method URLsTestCase.test_uri_to_iri_to_uri() - removed:
method URLsTestCase.test_url_attributes() - removed:
method URLsTestCase.test_url_attributes_bytes() - removed:
method URLsTestCase.test_url_bytes_decoding() - removed:
method URLsTestCase.test_url_decoding() - removed:
method URLsTestCase.test_url_encoding() - removed:
method URLsTestCase.test_url_fixing() - removed:
method URLsTestCase.test_url_fixing_qs() - removed:
method URLsTestCase.test_url_joining() - removed:
method URLsTestCase.test_url_unquote_plus_unicode()
- removed:
class GeneralUtilityTestCase(WerkzeugTestCase) - removed:
function suite() - removed:
method GeneralUtilityTestCase.test_append_slash_redirect() - removed:
method GeneralUtilityTestCase.test_cached_property() - removed:
method GeneralUtilityTestCase.test_cached_property_doc() - removed:
method GeneralUtilityTestCase.test_environ_property() - removed:
method GeneralUtilityTestCase.test_escape() - removed:
method GeneralUtilityTestCase.test_find_modules() - removed:
method GeneralUtilityTestCase.test_header_set_duplication_bug() - removed:
method GeneralUtilityTestCase.test_html_builder() - removed:
method GeneralUtilityTestCase.test_import_string() - removed:
method GeneralUtilityTestCase.test_redirect() - removed:
method GeneralUtilityTestCase.test_redirect_no_unicode_header_keys() - removed:
method GeneralUtilityTestCase.test_redirect_xss() - removed:
method GeneralUtilityTestCase.test_run_wsgi_app() - removed:
method GeneralUtilityTestCase.test_secure_filename() - removed:
method GeneralUtilityTestCase.test_unescape() - removed:
method GeneralUtilityTestCase.test_validate_arguments()
- removed:
class RequestTestResponse(wrappers.BaseResponse) - removed:
class WrappersTestCase(WerkzeugTestCase) - removed:
constructor RequestTestResponse(response, status, headers) - removed:
function prepare_environ_pickle(environ) - removed:
function request_demo_app(environ, start_response) - removed:
function suite() - removed:
method WrappersTestCase.assert_environ(environ, method) - removed:
method WrappersTestCase.test_accept_mixin() - removed:
method WrappersTestCase.test_access_route() - removed:
method WrappersTestCase.test_authenticate_mixin() - removed:
method WrappersTestCase.test_authorization_mixin() - removed:
method WrappersTestCase.test_auto_content_length() - removed:
method WrappersTestCase.test_base_request() - removed:
method WrappersTestCase.test_base_response() - removed:
method WrappersTestCase.test_common_request_descriptors_mixin() - removed:
method WrappersTestCase.test_common_response_descriptors_mixin() - removed:
method WrappersTestCase.test_data_descriptor_triggers_parsing() - removed:
method WrappersTestCase.test_disabled_auto_content_length() - removed:
method WrappersTestCase.test_etag_request_mixin() - removed:
method WrappersTestCase.test_etag_response_mixin() - removed:
method WrappersTestCase.test_etag_response_mixin_freezing() - removed:
method WrappersTestCase.test_file_closing() - removed:
method WrappersTestCase.test_file_closing_with() - removed:
method WrappersTestCase.test_form_data_ordering() - removed:
method WrappersTestCase.test_form_parsing_failed() - removed:
method WrappersTestCase.test_get_data_method_parsing_caching_behavior() - removed:
method WrappersTestCase.test_location_header_autocorrect() - removed:
method WrappersTestCase.test_modified_url_encoding() - removed:
method WrappersTestCase.test_new_response_iterator_behavior() - removed:
method WrappersTestCase.test_other_method_payload() - removed:
method WrappersTestCase.test_query_string_is_bytes() - removed:
method WrappersTestCase.test_ranges() - removed:
method WrappersTestCase.test_response_304_no_content_length() - removed:
method WrappersTestCase.test_response_freeze() - removed:
method WrappersTestCase.test_response_headers_passthrough() - removed:
method WrappersTestCase.test_response_iter_wrapping() - removed:
method WrappersTestCase.test_response_status_codes() - removed:
method WrappersTestCase.test_response_stream_mixin() - removed:
method WrappersTestCase.test_response_streamed() - removed:
method WrappersTestCase.test_shallow_mode() - removed:
method WrappersTestCase.test_storage_classes() - removed:
method WrappersTestCase.test_stream_only_mixing() - removed:
method WrappersTestCase.test_stream_wrapping() - removed:
method WrappersTestCase.test_type_forcing() - removed:
method WrappersTestCase.test_url_charset_reflection() - removed:
method WrappersTestCase.test_url_request_descriptors() - removed:
method WrappersTestCase.test_url_request_descriptors_hosts() - removed:
method WrappersTestCase.test_url_request_descriptors_query_quoting() - removed:
method WrappersTestCase.test_urlfication() - removed:
method WrappersTestCase.test_user_agent_mixin()
- removed:
class WSGIUtilsTestCase(WerkzeugTestCase) - removed:
function suite() - removed:
method WSGIUtilsTestCase.test_get_current_url_unicode() - removed:
method WSGIUtilsTestCase.test_get_host() - removed:
method WSGIUtilsTestCase.test_get_host_fallback() - removed:
method WSGIUtilsTestCase.test_get_host_multiple_forwarded() - removed:
method WSGIUtilsTestCase.test_get_host_validation() - removed:
method WSGIUtilsTestCase.test_iter_functions_support_iterators() - removed:
method WSGIUtilsTestCase.test_limited_stream() - removed:
method WSGIUtilsTestCase.test_limited_stream_disconnection() - removed:
method WSGIUtilsTestCase.test_lines_longer_buffer_size() - removed:
method WSGIUtilsTestCase.test_make_chunk_iter() - removed:
method WSGIUtilsTestCase.test_make_chunk_iter_bytes() - removed:
method WSGIUtilsTestCase.test_multi_part_line_breaks() - removed:
method WSGIUtilsTestCase.test_multi_part_line_breaks_bytes() - removed:
method WSGIUtilsTestCase.test_multi_part_line_breaks_problematic() - removed:
method WSGIUtilsTestCase.test_path_info_and_script_name_fetching() - removed:
method WSGIUtilsTestCase.test_path_info_extraction() - removed:
method WSGIUtilsTestCase.test_peek_path_info() - removed:
method WSGIUtilsTestCase.test_pop_path_info() - removed:
method WSGIUtilsTestCase.test_query_string_fetching() - removed:
method WSGIUtilsTestCase.test_responder() - removed:
method WSGIUtilsTestCase.test_shared_data_middleware() - removed:
method WSGIUtilsTestCase.test_shareddatamiddleware_get_file_loader()
- changed:
class BytesURL(_URLTuple, _URLMixin) → class BytesURL(BaseURL) - changed:
class URL(_URLTuple, _URLMixin) → class URL(BaseURL) - added:
class BaseURL(_URLTuple) - added:
method BaseURL.decode_netloc() - added:
method BaseURL.decode_query(*args, **kwargs) - added:
method BaseURL.get_file_location(pathformat=…) - added:
method BaseURL.join(*args, **kwargs) - added:
method BaseURL.replace(**kwargs) - added:
method BaseURL.to_iri_tuple() - added:
method BaseURL.to_uri_tuple() - added:
method BaseURL.to_url() - added:
property BaseURL.ascii_host - added:
property BaseURL.auth - added:
property BaseURL.host - added:
property BaseURL.password - added:
property BaseURL.port - added:
property BaseURL.raw_password - added:
property BaseURL.raw_username - added:
property BaseURL.username
- changed:
function redirect(location, code=…) → function redirect(location, code=…, Response=…)