Mickaël Schoentgen
a61f9e1114
Minor clean-up ( #1078 )
...
- Remove default arguments to `open()`.
- Make use of `pytest` mechanisms for temporary folders.
2021-05-29 12:06:06 +02:00
Mickaël Schoentgen
0ff0874fa3
Modernize the code base with f-strings ( #1068 )
2021-05-25 20:49:07 +02:00
Mickaël Schoentgen
a3a08a9a22
Use relative imports ( #1057 )
...
* Use relative imports in test
* Use relative imports
* Add myself to contributors :)
2021-05-05 14:13:39 +02:00
Jakub Roztocil
2afdc958c6
Update URLs
2020-12-23 22:07:27 +01:00
Jakub Roztocil
b86598886e
Added netrc support for auth plugins.
...
Enabled for --auth-type=basic and digest, 3rd parties may opt in.
This closes #718 , closes #719 , closes #852 , and also closes #934
2020-06-16 11:05:00 +02:00
Jakub Roztocil
c2a0cef76e
Add --format-options to allow disabling sorting, etc.
...
#128
2020-05-27 16:01:17 +02:00
Jakub Roztocil
ca02e51420
Improve plugin API docs
2020-05-26 10:07:53 +02:00
Jakub Roztocil
cd085cbc0d
Refactor built-in plugin registry to avoid circular imports
...
Fix #925
2020-05-26 10:07:34 +02:00
Jakub Roztocil
bd3208cf24
Refactor get_formatters_grouped
2019-09-01 11:45:47 +02:00
Jakub Roztocil
a34b3d9d87
Refactor PluginManager
2019-09-01 11:13:45 +02:00
Jakub Roztocil
d603502960
Fix unregister annotation
2019-08-31 18:35:24 +02:00
Jakub Roztocil
b947d4826a
Annotate plugins
2019-08-31 18:33:54 +02:00
Jakub Roztocil
0f654388fc
Python 3 annotations, super(), pathlib, etc.
2019-08-30 15:14:51 +02:00
Jakub Roztocil
63df735fef
Update links to HTTPS
2019-08-30 10:07:01 +02:00
Jakub Roztocil
7f5fd130c5
Start using dict comprehensions
2017-12-28 18:15:17 +01:00
Jakub Roztocil
c948f98b05
Update links
2017-03-10 11:27:38 +01:00
Jakub Roztocil
54a63a810e
Cleanup/docstring
2016-11-23 22:29:36 +01:00
Jakub Roztocil
a49774d3ab
Extend auth plugin API
...
This extends the `AuthPlugin` API by the following attributes:
* `auth_require`: set to `False` to make `--auth, -a` optional
* `auth_parse`: set to `False` to disable `username:password` parsing
(access the raw value passed to `-a` via `self.raw_auth`).
* `prompt_password`: set to`False` to disable password prompt when
no password provided (only relevant when `auth_parse == True`)
These changes should be 100% backwards-compatible.
What needs more testing is auth support in sessions.
Close #433
Close #431
Close #378
Ping teracyhq/httpie-jwt-auth#3
2016-11-23 22:02:12 +01:00
Jakub Roztocil
aab5cd9da0
PEP8. clean-up
2016-07-04 20:30:55 +02:00
Jakub Roztocil
293295cad6
Removed XML formatter
...
Closes #443
Closes #389
Closes #415
Closes #384
Closes #394
2016-03-18 09:16:39 +08:00
Matt Layman
9ea89ffefe
Fix typo in method name of plugin manager.
2015-08-30 21:37:47 -04:00
Jakub Roztocil
2b51cb6687
Updated links II.
2015-07-03 18:55:45 +02:00
Jakub Roztocil
996e314482
Cleanup
2015-02-05 15:55:20 +01:00
Jakub Roztocil
687a6a734d
Added support for transport adapter plugins
...
#276 , #298
2015-02-05 15:25:00 +01:00
Jakub Roztocil
e4c68063b9
Converted built-in formatters to formatter plugins.
...
Still work in progress and the API should be considered private for now.
2014-05-12 19:12:39 +02:00
Jakub Roztocil
d9eca19b8f
New URL.
2014-05-05 21:17:23 +02:00
Jakub Roztocil
a3352af1d4
Added support and tests for unicode support in sessions.
2014-04-26 18:16:30 +02:00
Jakub Roztocil
467d126b6c
Python 3 unicode fixes.
2014-04-26 17:35:26 +02:00
Jakub Roztocil
15e62ad26d
Implemented more robust unicode handling.
...
* Immediatelly convert all args from `bytes` to `str`.
* Added `Environment.stdin_encoding` and `Environment.stdout_encoding`
* Allow unicode characters in HTTP headers and basic auth credentials
by encoding them using UTF8 instead of latin1 (#212 ).
2014-04-26 15:07:31 +02:00
Jakub Roztocil
2acb303552
Added support for auth plugins.
2013-09-21 23:46:15 +02:00