Accepting request 795527 from home:mnhauke

- Update to version 2.1.0
  * Added --path-as-is to bypass dot segment (/../ or /./) URL
    squashing.
  * Changed the default value Accept header value for JSON requests
    from application/json, */* to application/json, */*;q=0.5 to
    clearly indicate preference.
  * Fixed --form file upload mixed with redirected stdin error
    handling.

OBS-URL: https://build.opensuse.org/request/show/795527
OBS-URL: https://build.opensuse.org/package/show/network:utilities/httpie?expand=0&rev=13
This commit is contained in:
Marcus Meissner 2020-04-27 11:59:19 +00:00 committed by Git OBS Bridge
parent af346943c1
commit 1f1437c48e
5 changed files with 20 additions and 8 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:92ebdced5620ab56fd9f24e494c7c97eb0afee0f03a55bee41f773395c59dc5c
size 1752529

3
httpie-2.1.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:aea482da09341a3d205761d828c7125884c9d0eb77a53cd4d2e6042e4670182b
size 1754801

View File

@ -1,8 +1,8 @@
diff --git a/setup.py b/setup.py diff --git a/setup.py b/setup.py
index 4392270..2d18d38 100644 index 084ea47..f8ebd13 100644
--- a/setup.py --- a/setup.py
+++ b/setup.py +++ b/setup.py
@@ -35,8 +35,8 @@ tests_require = [ @@ -36,8 +36,8 @@ tests_require = [
install_requires = [ install_requires = [
@ -11,5 +11,5 @@ index 4392270..2d18d38 100644
+ 'requests>=2.21.0', + 'requests>=2.21.0',
+ 'Pygments>=2.3.1', + 'Pygments>=2.3.1',
] ]
install_requires_win_only = [
'colorama>=0.2.4',

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Sat Apr 18 11:41:22 UTC 2020 - Martin Hauke <mardnh@gmx.de>
- Update to version 2.1.0
* Added --path-as-is to bypass dot segment (/../ or /./) URL
squashing.
* Changed the default value Accept header value for JSON requests
from application/json, */* to application/json, */*;q=0.5 to
clearly indicate preference.
* Fixed --form file upload mixed with redirected stdin error
handling.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Mar 31 16:59:11 UTC 2020 - Matej Cepl <mcepl@suse.com> Tue Mar 31 16:59:11 UTC 2020 - Matej Cepl <mcepl@suse.com>

View File

@ -19,7 +19,7 @@
%define skip_python2 1 %define skip_python2 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: httpie Name: httpie
Version: 2.0.0 Version: 2.1.0
Release: 0 Release: 0
Summary: CLI, cURL-like tool for humans Summary: CLI, cURL-like tool for humans
License: BSD-3-Clause License: BSD-3-Clause