Commit Graph

1748 Commits

Author SHA1 Message Date
Batuhan Taskaya
f94c12d8ca
Close all stale PRs (#1245) 2021-12-16 12:06:00 +03:00
Batuhan Taskaya
3db1cdba4c
Don't inconsistently add XML declarations (#1227) 2021-12-14 07:15:19 -08:00
Batuhan Taskaya
4f7f59b990
Add initial benchmarking infrastructure (#1232)
* Add initial benchmarking infrastructure

* Add CI file

* Try to comment on commits

* Implement file download benchmarks!

* drop commit comments (they dont work)

* Allow running local binary

* Better action

* More docs!

* Better look?

* even better look

* add pretty=all, none benchmarks
2021-12-14 07:05:25 -08:00
Batuhan Taskaya
e30ec6be42
Remove unnecessary empty line in CHANGELOG 2021-12-09 12:46:19 +03:00
Batuhan Taskaya
207b970d94
Automatically enable --stream on server sent events (#1226)
* Automatically enable --stream when used chunked encoding

* try fix 3.6 mock issue

* Only enable on text/event-stream

Co-authored-by: Jakub Roztocil <jakub@roztocil.co>
2021-12-08 07:49:12 -08:00
Batuhan Taskaya
62e43abc86
Ignore crashes that happen on the 3rd party plugins (#1228)
* Ignore crashes that happen on the 3rd party plugins

* Give a suggestion about how to uninstall
2021-12-08 07:45:07 -08:00
Batuhan Taskaya
ea8e22677a
Fix snapcraft packaging (#1235) 2021-12-08 01:20:58 -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
Jakub Roztocil
8fe1f08a37 Changelog 2021-12-01 20:51:00 +01:00
Jakub Roztocil
521ddde4c5 CHANGELOG.md 2021-12-01 20:49:03 +01:00
Jakub Roztocil
3457806df1 CHANGELOG.md 2021-12-01 20:45:54 +01:00
Jakub Roztocil
840f77d2a8 Tweak changelog & 3.0.0.dev0 2021-12-01 20:44:04 +01:00
Batuhan Taskaya
6522ce06d0
Add plugin management changelog entry (#1223)
* Add plugin management changelog entry

* Update CHANGELOG.md

Co-authored-by: Jakub Roztocil <jakub@roztocil.co>
2021-12-01 10:20:16 -08:00
Batuhan Taskaya
f927065416
brew: add multidict (#1222) 2021-12-01 10:19:38 -08:00
Batuhan Taskaya
151becec2b
Improve startup time with lazy loading some args (#1221)
* Improve startup time with lazy loading some args

* add some tests

* Add changelog entry

* Update CHANGELOG.md

Co-authored-by: Jakub Roztocil <jakub@roztocil.co>
2021-12-01 10:15:59 -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
3081fc1a3c
Add httpie --version (#1220) 2021-11-30 13:18:37 +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
Batuhan Taskaya
ef62fc11bf
core: support custom request/response classes (#1205)
* core: support custom request/response classes

* Move to `httpie.models`, prefix with `Requests`
2021-11-24 15:45:39 -08:00
Batuhan Taskaya
c000886546
Preserve individual headers with the same name on responses (#1208)
* Preserve individual headers with the same name on responses

* Rename RequestHeadersDict to HTTPHeadersDict

* Update tests/utils/http_server.py

* Update tests/utils/http_server.py

* Update httpie/adapters.py

Co-authored-by: Jakub Roztocil <jakub@roztocil.co>
2021-11-24 15:41:37 -08:00
Jan Brašna
cfcd7413d1
Fix README broken links to old locations (#1209) 2021-11-21 02:38:05 -08:00
Jan Brašna
7dfa001d2c
Consistent userdir/name example (#1210) 2021-11-21 02:32:00 -08:00
Jakub Roztocil
06d9c14e7a Add $ http :// error handling test 2021-11-05 14:11:30 +01: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
434512e92f
Update bug_report.md 2021-11-04 23:20:46 +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
Gaurav
cff45276b5
Fix Snap autocompletion (#1189) 2021-10-25 16:36:34 +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
Jakub Roztocil
2be43e698a
Add HTTPie 2.6.0 blog post link
https://httpie.io/blog/httpie-2.6.0
2021-10-24 19:44:02 +02:00
Mickaël Schoentgen
3abc76f6d5 Tiny docstring clean-up 2021-10-19 10:24:01 +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
hosseingt
7500912be1
Corrected command for installing development version on Windows (#1187) 2021-10-15 18:01:07 +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
Jakub Roztocil
cee283a01a
Update setup.py 2021-10-14 11:27:12 +02:00