mirror of
https://github.com/httpie/cli.git
synced 2024-11-24 16:53:35 +01:00
cd085cbc0d
Fix #925
19 lines
496 B
Python
19 lines
496 B
Python
from httpie.plugins.manager import PluginManager
|
|
from httpie.plugins.builtin import BasicAuthPlugin, DigestAuthPlugin
|
|
from httpie.output.formatters.headers import HeadersFormatter
|
|
from httpie.output.formatters.json import JSONFormatter
|
|
from httpie.output.formatters.colors import ColorFormatter
|
|
|
|
|
|
plugin_manager = PluginManager()
|
|
|
|
|
|
# Register all built-in plugins.
|
|
plugin_manager.register(
|
|
BasicAuthPlugin,
|
|
DigestAuthPlugin,
|
|
HeadersFormatter,
|
|
JSONFormatter,
|
|
ColorFormatter,
|
|
)
|