1
0
mirror of https://github.com/httpie/cli.git synced 2025-06-17 00:17:45 +02:00
Commit Graph

75 Commits

Author SHA1 Message Date
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
3db1cdba4c Don't inconsistently add XML declarations (#1227) 2021-12-14 07:15:19 -08:00
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
f927065416 brew: add multidict (#1222) 2021-12-01 10:19:38 -08:00
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
00b366a81f Implement Bearer Auth (#1216) 2021-12-01 09:37:57 -08:00
5bf696d113 Fix packit CI (#1219) 2021-11-30 13:49:38 +03:00
245cede2c2 cmd: Implement httpie plugins interface (#1200) 2021-11-30 11:12:51 +03:00
6bdcdf1eba Proper JSON handling for :=/:=@ (#1213)
* Proper JSON handling for :=/:=@

* document the behavior

* fixup docs
2021-11-26 03:45:46 -08:00
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
cfcd7413d1 Fix README broken links to old locations (#1209) 2021-11-21 02:38:05 -08:00
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
72735d9d59 Update config.json 2021-11-03 12:50:07 +01:00
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
d40f06687f Update README.md 2021-10-29 11:33:46 +02:00
0d9c8b88b3 Change Chocolatey owner 2021-10-25 17:18:53 +02:00
e75e0a0565 Change Void Linux maintainer 2021-10-25 16:25:59 +02:00
19e48ba901 Update Spack metadata 2021-10-25 16:19:49 +02:00
a9b8513f62 Update Gentoo metadata 2021-10-25 16:16:26 +02:00
7985cf60c8 Fix Gentoo example link 2021-10-25 16:15:27 +02:00
5dc4a26277 Remove myself from the HTTPie team 2021-10-25 14:55:45 +02:00
7775422afb Add contributors list update to the release process 2021-10-25 14:54:59 +02:00
021eb651e0 Bump the version to 2.7.0.dev0 (#1188) 2021-10-19 10:21:45 +02:00
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
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
7885f5cd66 Minor version changes in the Fedora packaging docs (#1185) 2021-10-15 15:24:21 +02:00
3e414d731c Update the awesome contributors list to HTTPie 2.6.0 2021-10-14 17:17:14 +02:00
d8f6a5fe52 Blank master_and_released_docs_differ_after 2021-10-14 11:30:13 +02:00
42af2f786f v2.6.0 (#1182)
[skip ci]
2021-10-14 10:36:39 +02:00
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
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
19691bba68 Packaging documentation tweaks 2021-10-11 17:42:29 +02:00
344491ba8e Tweak the Chocolatey package installation file 2021-10-11 10:07:24 +02:00
9f6fa090df Auto-update install docs
Via .github/workflows/docs-update-install.yml
2021-10-10 18:58:57 +00:00
59f4ef03cc Remove macOS/Snap
snapd is not available on macOS yet
2021-10-10 20:58:05 +02:00
ef92e2a74a Auto-update install docs
Via .github/workflows/docs-update-install.yml
2021-10-10 18:46:46 +00:00
1171984ec2 Better links for snap on macos 2021-10-10 20:45:53 +02:00
ce9746b1f8 Auto-update install docs
Via .github/workflows/docs-update-install.yml
2021-10-10 18:25:59 +00:00
6b99e1c932 Link GitHub action file in generated commit 2021-10-10 20:25:12 +02:00
7d418aecd0 Auto-update installation instructions in the docs 2021-10-10 18:18:39 +00:00
459cdfcf53 Tweak install docs template
Shorten setup, add missing comma
2021-10-10 20:17:49 +02:00
ab8512f96c Add --compress documentation (#1173)
* Add --compress documentation

* Apply suggestions from code review

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

* Update docs/README.md

* Update docs/README.md

Co-authored-by: Jakub Roztocil <jakub@roztocil.co>
2021-10-08 18:38:40 +02:00
6befaf9067 Added the ability to silence warnings via double -q or --quiet (#1175)
* change behavior of '--quiet' to silence errors and warnings when passed twice together with '--check-status'

* Apply suggestions from code review

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

* remove header, trailing comma, rename constant and variable

* fix flags for tests

* [skip ci] Update ticket number

Co-authored-by: Dave <d.kreeft@outlook.com>
Co-authored-by: Jakub Roztocil <jakub@roztocil.co>
Co-authored-by: Mickaël Schoentgen <contact@tiger-222.fr>
2021-10-08 14:18:11 +02:00
476eb4f0d9 Use HTTPie repository everywhere 2021-10-07 16:15:52 +02:00
17f74f10f3 Add summary to Chocolatey metadata
It is strongly recommended to add a summary.
It will be effective for the next release though.
2021-10-07 14:34:33 +02:00
1e094d0a79 Fix Snapcraft and Spack anchors 2021-10-07 14:06:06 +02:00
bd227c0364 Specify the API key to submit Chocolatey packages 2021-10-07 13:58:02 +02:00
9dda23a322 Add Chocolatey packaging information (#1172)
* Add Chocolatey packaging information

* Fix working directory

* Fix Python dependency

* Update icon URL

* Fix local installation

* Simplify links

* Remove the workflow, it adds no real value and th etime to fix is is not worth
2021-10-07 13:53:11 +02:00
4f1c9441c5 Fix encoding error with non-prettified encoded responses (#1168)
* Fix encoding error with non-prettified encoded responses

Removed `--format-option response.as` an promote `--response-as`: using
the format option would be misleading as it is now also used by non-prettified
responses.

* Encoding refactoring

* split --response-as into --response-mime and --response-charset
* add support for Content-Type charset for requests printed to terminal
* add support charset detection for requests printed to terminal without a Content-Type charset
* etc.

* `test_unicode.py` → `test_encoding.py`

* Drop sequence length check

* Clean-up tests

* [skip ci] Tweaks

* Use the compatible release clause for `charset_normalizer` requirement

Cf. https://www.python.org/dev/peps/pep-0440/#version-specifiers

* Clean-up

* Partially revert d52a4833e4

* Changelog

* Tweak tests

* [skip ci] Better test name

* Cleanup tests and add request body charset detection

* More test suite cleanups

* Cleanup

* Fix code style in test

* Improve detect_encoding() docstring

* Uniformize pytest.mark.parametrize() calls

* [skip ci] Comment out TODOs (will be tackled in a specific PR)

Co-authored-by: Jakub Roztocil <jakub@roztocil.co>
2021-10-06 17:27:07 +02:00
7989e438d2 Add documentation about our release process (#1159)
* Add documentation about our release process

* Fixes

* Add company-related tasks, enable back WIP pages

* Fix WIP links

* Add AOSC OS

* Add WIP for AOSC OS

* Tweak

* Remove maintainers email IDs

* Use GH nicknames

* Remove useless WIP for brew

* Tweaks
2021-10-06 16:45:44 +02:00