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
Mickaël Schoentgen
7cbdf2c608
Prefer usage of pytest rather than py.test ( #1058 )
...
`py.test` was chosen over `pytest` but it is not planned for removal yet [1].
Anyway, it is a good thing to ensure we are using the correct Python version
with the right `pytest` installed, so using `python -m pytest` is recommended.
[1] https://github.com/pytest-dev/pytest/issues/1629
2021-05-03 18:40:25 +02:00
Mickaël Schoentgen
1274d869f6
Replace usage of mock with unittest.mock ( #1054 )
...
Since Python 3, the mock dependency is no more required as
it is already part of the unittest module.
2021-04-30 15:08:27 +02:00
Jan Verbeek
611bcdaab1
Fail gracefully if multiple request data files are supplied ( #1042 )
2021-04-15 09:35:50 +02:00
Miro Hrončok
fc45bf0fe3
Explicitly require setuptools, httpie/plugins/manager.py imports pkg_resources ( #1049 )
2021-03-30 22:54:53 +02:00
Almad
56c4ba1794
Warn against non-ascii in setup.cfg ( #1041 )
2021-02-24 14:56:57 +01:00
Almad
8f83bfe767
Replace typography quotes ( #1040 )
...
fixes #1039
2021-02-24 14:38:18 +01:00
Jakub Roztocil
a32ad344dd
Update README.rst
2021-02-23 12:51:06 +01:00
Jakub Roztocil
c53fbe5ae3
Typo
2021-02-23 12:22:35 +01:00
Jakub Roztocil
070ba9fa5a
Tweaks
2021-02-18 13:48:48 +01:00
Jakub Roztocil
82ee071362
Tweaks
2021-02-18 13:47:58 +01:00
Jakub Roztocil
97dffb35a2
Spacing
2021-02-18 13:46:10 +01:00
Jakub Roztocil
18af03ac18
Issue templates tweaks II
2021-02-18 13:44:29 +01:00
Jakub Roztocil
904dd4107a
Issue templates tweaks
2021-02-18 13:42:59 +01:00
Elena Lape
8efabc86e6
Issue templates ( #1031 )
...
* add bug report template
* add feature request template
* add other template
* a httpie to an httpie
Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com>
* Update .github/ISSUE_TEMPLATE/bug_report.md
Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com>
* Update .github/ISSUE_TEMPLATE/bug_report.md
Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com>
* Update .github/ISSUE_TEMPLATE/bug_report.md
Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com>
* minor changes
* add discord
Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com>
2021-02-18 12:55:15 +01:00
Jakub Roztocil
cc20488f49
Formatting
2021-02-14 13:34:20 +01:00
Jakub Roztocil
b918972862
CHANGELOG #1032
2021-02-14 13:33:38 +01:00
Jan Verbeek
84c7327057
Correctly handle single-byte Content-Range ( #1032 )
...
HTTPie previously failed if it continued a download with a single byte left.
2021-02-14 13:30:58 +01:00
Jakub Roztocil
e944dbd7fa
2.5.0-dev
2021-02-06 13:34:04 +01:00
Jakub Roztocil
157f3a1840
2021
2021-02-06 13:29:02 +01:00
Jakub Roztocil
61dbadb730
Tests
2021-02-06 13:21:21 +01:00
Jakub Roztocil
7be25d0751
Update brew formula to 2.4.0
2021-02-06 11:54:15 +01:00
Jakub Roztocil
5d5a8b4091
Typo
2021-02-06 11:26:15 +01:00
Jakub Roztocil
bb36897054
2.4.0
2021-02-06 11:17:24 +01:00
Jakub Roztocil
173e622567
Update upload command
2021-02-06 11:17:14 +01:00
Jakub Roztocil
3426030370
Fix README formatting
2021-02-06 11:13:04 +01:00
Jakub Roztocil
d014498713
Changelog entry for cookie expiration based on Set-Cookie: max-age=<n>
...
#1029
2021-02-06 11:02:26 +01:00
Jakub Roztocil
5414d1853e
Refactoring
...
#1029
2021-02-06 10:58:36 +01:00
Jakub Roztocil
1ac8f69651
Add more output matching tests
2021-02-06 10:52:30 +01:00
Denis Belavin
3c07a25326
Add support for max-age=0 cookie expiry ( #1029 )
...
Close #998
2021-02-06 10:50:34 +01:00
Jakub Roztocil
cf78a12e46
Show --check-status warning with --quiet as well. ( #1026 )
...
Fixes #1028
2021-01-31 00:58:56 +01:00
Jakub Roztocil
0f1e098cc4
Fix incorrect separators and introduce assert_output_matches()
( close #1027 )
2021-01-30 22:14:57 +01:00
freddii
0401d7b31c
fixed typo ( #1024 )
2021-01-21 22:35:41 +01:00
Jakub Roztocil
795627f965
Update chat icon
2021-01-13 22:24:20 +01:00
Adam
21cc008cb2
Add Linux Solus install to README ( #1018 )
2021-01-13 21:52:00 +01:00
Jakub Roztocil
77b8c37cb0
Update changelog
...
#1020
2021-01-13 21:49:53 +01:00
Gian Ortiz
db685d58b5
Decode headers using utf-8 only if they are not str ( #1020 )
2021-01-13 21:45:56 +01:00
Elena Lape
44ae67685d
Add HTTPie Discord link to README ( #1016 )
...
* add discord link
* update link
2021-01-12 15:27:45 +01:00
Jakub Roztocil
6922a0c912
Switch from httpbin.org to pie.dev
2020-12-24 21:34:30 +01:00
Jakub Roztocil
2afdc958c6
Update URLs
2020-12-23 22:07:27 +01:00
Jakub Roztocil
57b1baf1d1
Add a test to reproduce #1006
2020-12-22 22:56:45 +01:00
Jakub Roztocil
1828da6a50
Update --stream
example comment
2020-12-21 12:17:04 +01:00
Jakub Roztocil
0629f2ff42
Fix --stream
example II
2020-12-21 12:14:41 +01:00
Jakub Roztocil
d71b7eee81
Fix --stream
example
...
Close #1002
2020-12-21 12:12:11 +01:00
Shubhendra Singh Chauhan
9883a46575
Cleanup ( #993 )
2020-12-21 12:03:25 +01:00
Jakub Roztocil
2409077a6d
Clarify
2020-12-21 11:51:19 +01:00
Kevin Velghe
02971b938d
Fix documentation on file upload ( #1000 )
...
As documented later on in "File upload forms", the correct syntax to set
the mimetype of the upload is `field@file;type=filetype`
2020-12-21 11:47:47 +01:00
Dustin Rodrigues
f7e77efe4b
Test on Python 3.9 ( #986 )
2020-12-21 11:42:21 +01:00
xcodz-dot
5d8bd0da7c
python -m pip ( #1005 )
2020-12-21 11:38:00 +01:00
Jakub Roztocil
3c6e7c73fe
Update setup.py
2020-12-19 14:07:31 +01:00