Commit Graph

92 Commits

Author SHA1 Message Date
Jakub Roztocil
c815e21ef9
Fix time elapsed (#1277)
* Show the actual time elapsed; add docs

* `requests.Response._headers_parsed_at` → `requests.Response._httpie_headers_parsed_at`

* Add `ELAPSED_TIME_LABEL` constant

* Tweak docs

* Tweak docs

* Allow multiple blank lines in Markdown files

* Add rudimentary tests for --meta with different --style’s

* Cleanup tests

* Cleanup tests

* Cleanup tests
2022-01-23 04:52:38 -08:00
Batuhan Taskaya
8a03b7a824
Update the contributors (#1275) 2022-01-22 17:25:00 -08:00
Batuhan Taskaya
b3f29c8d1e
Display the latest docs (#1274) 2022-01-21 22:15:55 +03:00
Batuhan Taskaya
c97fe64a37
Update brew with 3.0 (#1273) 2022-01-21 21:08:33 +03:00
Batuhan Taskaya
88140422a9
3.0 release prep (#1272) 2022-01-21 20:34:38 +03:00
Jakub Roztocil
d2d40eb336
Finish docs for v3.0.0 (#1269)
* WIP

* Rewrite the introduction segment of the Nested JSON

Co-authored-by: Batuhan Taskaya <isidentical@gmail.com>
2022-01-21 20:24:07 +03:00
Batuhan Taskaya
cd877a5e08
Remove 3.6 support / discontinue less available platforms (#1267)
* Remove redundant systems

* Drop it from the docs

* Remove the packaging info about the legacy systems

* Fix some typos

* Drop support for python 3.6
2022-01-14 08:49:05 -08:00
Batuhan Taskaya
3856f94d3d Update the brew file 2022-01-14 13:27:19 +03:00
Batuhan Taskaya
eb4e32ca28 A few edits 2022-01-13 19:54:43 +03:00
Batuhan Taskaya
980bd59e29 Rewrite the docs 2022-01-13 19:54:43 +03:00
Greg Myers
508788ca56
Fix two typos in docs/README.md (#1261)
contaning  -> containing
overwriten -> overwritten

Co-authored-by: greg <gmyers@gitlab.com>
2022-01-10 02:48:42 -08:00
Batuhan Taskaya
0e10e23dca Mention explicitly about prompted passwords are stored as raw in the docs 2021-12-29 12:03:44 +03:00
Batuhan Taskaya
f3b500119c
Implement basic metrics layout & total elapsed time (#1250)
* Initial metadata processing

* Dynamic coloring and other stuff

* Use -vv / --meta

* More testing

* Cleanup

* Tweek message

Co-authored-by: Jakub Roztocil <jakub@roztocil.co>
2021-12-23 12:13:25 -08:00
Batuhan Taskaya
be87da8bbd
Formalize @ suffix for all operators (#1225)
* Formalize @ suffix for all operators

* Separate the section

* Address suggestions
2021-12-23 11:06:35 -08:00
Batuhan Taskaya
5a83a9ebc4 Test https as well 2021-12-21 20:33:23 +03:00
Batuhan Taskaya
c97ec93a19 Test httpie 2021-12-21 20:33:09 +03:00
Batuhan Taskaya
8dc6c0df77
Implement new pie and pie-light styles (#1238)
* Implement new `pie` and `pie-light` styles

* Change some pallete

* Integrate the color palette

* some docs

* some docs

* Rework on code generation

* Apply suggestions from code review

Co-authored-by: Jakub Roztocil <jakub@roztocil.co>

Co-authored-by: Jakub Roztocil <jakub@roztocil.co>
2021-12-19 02:41:42 -08:00
Batuhan Taskaya
a5d8b51e47
Implement httpie upgrade for upgrading plugins (#1241)
* Implement `httpie upgrade` for upgrading plugins

* Support upgrades for every installation type

* Fix decoding problems
2021-12-16 23:59:39 -08:00
Batuhan Taskaya
3db1cdba4c
Don't inconsistently add XML declarations (#1227) 2021-12-14 07:15:19 -08:00
Batuhan Taskaya
df58ec683e
Add nested JSON syntax to the HTTPie DSL (#1224)
* Add support for nested JSON syntax (#1169)

Co-authored-by: Batuhan Taskaya <isidentical@gmail.com>
Co-authored-by: Jakub Roztocil <jakub@roztocil.co>

* minor improvements

* unpack top level lists

* Write more docs

* doc style changes

* fix double quotes

Co-authored-by: Mickaël Schoentgen <contact@tiger-222.fr>
Co-authored-by: Jakub Roztocil <jakub@roztocil.co>
2021-12-03 02:17:45 -08:00
Batuhan Taskaya
f927065416
brew: add multidict (#1222) 2021-12-01 10:19:38 -08:00
Batuhan Taskaya
ba8e4097e8
Support ==@ syntax for query parameter values from file (#1218)
Co-authored-by: Vladimir Berkutov <vladimir.berkutov@gmail.com>

Co-authored-by: Vladimir Berkutov <vladimir.berkutov@gmail.com>
2021-12-01 10:09:39 -08:00
Batuhan Taskaya
00b366a81f
Implement Bearer Auth (#1216) 2021-12-01 09:37:57 -08:00
Batuhan Taskaya
5bf696d113
Fix packit CI (#1219) 2021-11-30 13:49:38 +03:00
Batuhan Taskaya
245cede2c2
cmd: Implement httpie plugins interface (#1200) 2021-11-30 11:12:51 +03:00
Batuhan Taskaya
6bdcdf1eba
Proper JSON handling for :=/:=@ (#1213)
* Proper JSON handling for :=/:=@

* document the behavior

* fixup docs
2021-11-26 03:45:46 -08:00
Vivaan Verma
0fc6331ee0
Change PyPi to PyPI (#1203)
* Change `PyPi` to `PyPI`

* fix: change `PyPi` to `PyPI` in method yaml file
2021-11-25 14:06:34 -08:00
Jan Brašna
cfcd7413d1
Fix README broken links to old locations (#1209) 2021-11-21 02:38:05 -08:00
Jakub Roztocil
861b8b36a8
Strip leading :// from URLs to allow quick conversion of a pasted URL to calls (#1197)
* Strip leading `://` from URLs to allow quick conversion of a pasted URL to calls

Closes #1195

* Markdown lint

* Cleanup

* Cleanup

* Drop extraneous space

* Fix example
2021-11-05 13:59:23 +01:00
Jakub Roztocil
72735d9d59
Update config.json 2021-11-03 12:50:07 +01:00
Batuhan Taskaya
7cdd74fece
Support multiple headers sharing the same name (#1190)
* Support multiple headers sharing the same name

* Apply suggestions

* Don't normalize HTTP header names

* apply visual suggestions

Co-authored-by: Jakub Roztocil <jakub@roztocil.co>

* bump down multidict to 4.7.0

Co-authored-by: Jakub Roztocil <jakub@roztocil.co>
2021-10-31 15:04:39 +01:00
Jakub Roztocil
d40f06687f
Update README.md 2021-10-29 11:33:46 +02:00
Mickaël Schoentgen
0d9c8b88b3
Change Chocolatey owner 2021-10-25 17:18:53 +02:00
Mickaël Schoentgen
e75e0a0565
Change Void Linux maintainer 2021-10-25 16:25:59 +02:00
Mickaël Schoentgen
19e48ba901
Update Spack metadata 2021-10-25 16:19:49 +02:00
Mickaël Schoentgen
a9b8513f62
Update Gentoo metadata 2021-10-25 16:16:26 +02:00
Mickaël Schoentgen
7985cf60c8
Fix Gentoo example link 2021-10-25 16:15:27 +02:00
Mickaël Schoentgen
5dc4a26277
Remove myself from the HTTPie team 2021-10-25 14:55:45 +02:00
Mickaël Schoentgen
7775422afb
Add contributors list update to the release process 2021-10-25 14:54:59 +02:00
Mickaël Schoentgen
021eb651e0
Bump the version to 2.7.0.dev0 (#1188) 2021-10-19 10:21:45 +02:00
Mickaël Schoentgen
419427cfb6
Update downstream files for HTTPie 2.6.0 (#1186)
* Update Alpine package

* Add charset-normalizer deps for Alpine

It currently does not exist. We will need to add it ourselves.

* Update Gentoo package

* Update Brew formula

* Update MacPorts port

* Fix Gentoo deps

* Update examples

* Update Void Linux package

* Update Void Linux commands

* Update Chocolateur package

* Review DEbian packaging details

* Simplify Void Linux package

* Update more packages

* Update summary everywhere

* Remove temporary file

* Update Chocolatey package URL

* Updates

* Update Spack
2021-10-19 10:18:35 +02:00
Miro Hrončok
1b4048aefc
dnf/yum update is the same as dnf upgrade -- it updates all packages (#1184)
No reason to run it before installing or upgrading httpie.
This is not apt.
2021-10-15 15:29:06 +02:00
Miro Hrončok
7885f5cd66
Minor version changes in the Fedora packaging docs (#1185) 2021-10-15 15:24:21 +02:00
Mickaël Schoentgen
3e414d731c Update the awesome contributors list to HTTPie 2.6.0 2021-10-14 17:17:14 +02:00
Mickaël Schoentgen
d8f6a5fe52 Blank master_and_released_docs_differ_after 2021-10-14 11:30:13 +02:00
Mickaël Schoentgen
42af2f786f
v2.6.0 (#1182)
[skip ci]
2021-10-14 10:36:39 +02:00
Mickaël Schoentgen
a65771e271
Add a script that lists all contributors to a release (#1181)
* Add a script that lists all contributors to a release

We will keep a contributors database (simple JSON file) where
each entry is a contributor (either a committer, either an issue reporter,
either both) with some nicknames (GitHub, and Twitter).
The file will be used to craft credits on our release blog posts and to ping
them on Twitter.

* Add templates

* Missing docstring

* Clean-up

* Tweak
2021-10-14 10:33:14 +02:00
Mickaël Schoentgen
a15fd6f966
Add --response=mime and --response=charset docs (#1179)
* Add the "display encoding" section in the docs

* Remove repetition

* `--response=mime` / `--response=charset` docs

* Cleanup

* Cleanup

* Cleanup

Co-authored-by: Jakub Roztocil <jakub@roztocil.co>
2021-10-13 23:32:46 +02:00
Mickaël Schoentgen
19691bba68 Packaging documentation tweaks 2021-10-11 17:42:29 +02:00
Mickaël Schoentgen
344491ba8e Tweak the Chocolatey package installation file 2021-10-11 10:07:24 +02:00