Jakub Roztocil
32d8b481e9
Fix --offline --multipart
, add more tests
2020-09-28 16:22:34 +02:00
Jakub Roztocil
70ba84dc48
Fix fixture encoding on Windows
2020-09-28 12:53:28 +02:00
Jakub Roztocil
6925d930da
Add support for streamed uploads, --chunked, finish --multipart, etc.
...
Close #201
Close #753
Close #684
Close #903
Related: #452
2020-09-28 12:16:57 +02:00
Jakub Roztocil
b7754f92ce
Merge branch 'master' into feature/uploads2020
...
# Conflicts:
# httpie/cli/argparser.py
# httpie/uploads.py
2020-09-25 14:46:19 +02:00
Jakub Roztocil
e4e40e5b06
Request content type
2020-09-25 14:44:22 +02:00
Jakub Roztocil
d12af4a569
WIP
2020-09-25 13:44:28 +02:00
Jakub Roztocil
16ef08a159
Gracefully ignore cookie expiry dates in invalid format
...
Close #963
2020-09-20 09:21:10 +02:00
Jakub Roztocil
1813cf6156
Add --multipart
and --boundary
2020-08-19 10:22:50 +02:00
Jakub Roztocil
6cd934d1b8
Add support for multipart upload streaming
...
Close #684 , #201
2020-08-15 17:50:00 +02:00
Jakub Roztocil
1aa1366f99
Finish --quiet
2020-08-15 15:26:29 +02:00
Nicolas Beltran
2c7f24e3e5
Added additional tests to verify downloads work properly with quiet flag
2020-08-15 15:26:29 +02:00
Nicolas Beltran
69e1067a2c
Aesthetic changes
2020-08-15 15:26:29 +02:00
Nicolas Beltran
7e38f9ccf0
Added additional tests for flag and better documentation
2020-08-15 15:26:29 +02:00
Nicolas Beltran
d546081340
Solved issue pertaining to downloads and added additional testing functionality for devnull
2020-08-15 15:26:29 +02:00
Nicolas Beltran
4bd2e622a5
Added tests for --quiet flag
2020-08-15 15:26:29 +02:00
matthewhughes934
10246366da
Quieten ssl tests ( #952 )
...
* Add skip when required TLS version unsupported
Allow tests to skip, rather than fail from SSL errors with unsupported
TLS version, e.g. if Openssl is configured with MinProtocol higher than
the version being tested.
* Regenerate test certificate and key
Regenerate these with more secure settings for the sake of future
proofing, regenerate the key using RSA 4096 and sign the certificate
with SHA512.
This fixes test failures in tests/test_ssl.py when the user's OpenSSL
security level is set to a value greater than 1 and resolves issue #948
* Suppress SSL warnings in no verify tests
2020-08-06 22:24:03 +02:00
Katherine Bancroft
0541490dda
Add test to test auth plugin reused in session ( #938 )
...
* Add test to test auth plugin reused in session
* Remove unnecessary assertion in auth-plugin test
* Fixed auth test to use same session file
* Add test for password prompt behaviour in session
* Edit auth readme for plugin clarity
2020-07-10 12:48:26 +02:00
Jakub Roztocil
14677bd25d
Cleanup inline to-dos
...
I.
2020-06-25 11:36:09 +02:00
Jakub Roztocil
49e71d252f
Fixed test_ciphers_none_can_be_selected
on OpenBSD
...
Thanks @juped!
2020-06-19 18:26:08 +02:00
Katherine Bancroft
9500ce136a
Combine cookies from original request and session file
...
Close #932
Co-authored-by: kbanc <katherine.bancoft@gmail.com>
Co-authored-by: Gabriel Cruz <gabs.oficial98@gmail.com>
2020-06-18 23:17:33 +02:00
Jakub Roztocil
d35864e79d
Cleanup
2020-06-16 13:01:48 +02:00
Jakub Roztocil
8a106781be
Add --sorted
...
Also add --no-(sorted|unsorted) to allow the documented resetting to default via --no-<option>.
2020-06-16 12:54:50 +02:00
Jakub Roztocil
826489950d
Added --unsorted
...
It acts as a shortcut for --format-options=json.sort_keys:false,headers.sort:false
#128
2020-06-16 12:20:13 +02:00
Jakub Roztocil
b86598886e
Added netrc support for auth plugins.
...
Enabled for --auth-type=basic and digest, 3rd parties may opt in.
This closes #718 , closes #719 , closes #852 , and also closes #934
2020-06-16 11:05:00 +02:00
Nicolas Beltran
c240162cab
Added a test that verifies .netrc is honored when only --auth-type is passed
2020-06-16 10:07:41 +02:00
Jakub Roztocil
37200eb055
Cleanup
2020-06-15 23:02:16 +02:00
Eyitayo Ogunbiyi
9c68d7dd87
Remove expired cookies ( #929 )
...
* added a test for expiring cookies
* updated tests
* set up util for extracting expired cookies from response header
* Revert "updated tests"
This reverts commit a4eb5c4498
.
* Revert "Revert "updated tests""
This reverts commit d242e21bce
.
* added more functionality to get-expired-cookies
* add 'clear expired cookies' from session.json files
* refactored get_expired_cookies
* fixed formatting issues
* ensured key exists in cookie_header dict
* fixed linting errors
* removed unused import
* Added tests for get_expired_cookies util
* Added additional test for get_expired_cookies
* added remove_expired_cookies method directly to sessions class
* extracted logic to clear cookies to sessions.py
* refactored utils
* added tests to check expired cookies being removed from session obj
* added type annotations for methods
* Refactored test_sessions
* Seperated out expiry related tests into own class
* Refactored get_expired_cookies in utils
* Refactored remove cookie methods
* fixed linting errors
* fixed indentation and also pluralized test class name
* removed inheritance from SessionTestbase class
* Moved related test to TestExpiredCookies class
Co-authored-by: kbanc <katherine.bancoft@gmail.com>
2020-06-15 22:28:04 +02:00
Carlo Sciolla
c4627cc882
Custom file upload MIME type ( #927 )
...
* Support curl-like syntax for custom MIME type for files
In order to specify a custom MIME type for file uploads, a syntax
similar to that used by cURL is used so that
http -F test_file@/path/to/file.bin;type=application/zip https://...
forwards the user-provided file type if provided, otherwise falling
back to the usual guesswork out of the file extension.
2020-06-08 17:59:41 +02:00
Jakub Roztocil
caeef2fb7c
Use :
instead of =
in `--format-options
2020-05-28 14:24:15 +02:00
Jakub Roztocil
c2a0cef76e
Add --format-options to allow disabling sorting, etc.
...
#128
2020-05-27 16:01:17 +02:00
Jakub Roztocil
cd085cbc0d
Refactor built-in plugin registry to avoid circular imports
...
Fix #925
2020-05-26 10:07:34 +02:00
Jakub Roztocil
d62d6a77d1
Add support for --ciphers ( #870 )
2020-05-23 13:26:06 +02:00
Jakub Roztocil
0a81facccf
Str env vars
2020-05-23 12:14:09 +02:00
Jakub Roztocil
3e20ade645
Cleanup & refactor XDG_CONFIG_HOME support
2020-05-23 12:12:35 +02:00
Ash Holland
5af0874ed3
Support (part of) the XDG Base Directory Specification ( #920 )
...
On Unix-like systems, the configuration file now lives in
$XDG_CONFIG_HOME/httpie/ by default, not ~/.httpie/ (the behaviour on
Windows is unchanged). The previous location is still checked, in order
to support existing installations.
Searching $XDG_CONFIG_DIRS is still not supported.
Fixes #145 ; supersedes #436 .
2020-05-21 15:50:00 +02:00
Jakub Roztocil
fc85988368
Change default JSON Accept
to application/json, */*;q=0.5
...
See #488
2020-04-18 12:03:38 +02:00
Jakub Roztocil
83bd8059de
accept wip
2020-04-18 12:03:37 +02:00
Jakub Roztocil
4351650691
Ignore --download
with --offline
2020-04-16 11:41:12 +02:00
Jakub Roztocil
8936d1b71e
Add tests for --offline
2020-04-16 11:28:21 +02:00
Jakub Roztocil
cdf691c212
Change default JSON Accept
to application/json, */*;q=0.5
...
Close #488
2020-04-13 22:12:06 +02:00
Jakub Roztocil
684a4708d7
Add --path-as-is
...
Close #895
2020-04-13 20:18:56 +02:00
Jakub Roztocil
e6bad645ed
Fixed --form
file upload mixed with redirected stdin
error handling.
...
Close #840
2020-01-23 15:55:00 +01:00
Jakub Roztocil
38bc578744
Fix tests
2019-12-04 18:09:51 +01:00
Jakub Roztocil
5aa9ed795e
Switch to explicitly listed directories to search in for *.rst
#820
2019-12-04 13:51:45 +01:00
Roger Wernersson
e8b22d8b51
exclude site-packages from .rst file scanning ( #820 )
...
make test fails when finding .rst files from site packages installed
in the virtual environment
2019-12-04 13:37:57 +01:00
Roger Wernersson
615d887513
run rst2pseudoxml.py with shell=true ( #821 )
...
makes rst2pseudoxml.py work properly on Windows
executes via a shell instead of not working
2019-12-04 13:33:13 +01:00
Semen Zhydenko
dcd6b63e45
withing -> within ( #795 )
2019-12-02 18:12:51 +01:00
Jakub Roztocil
7390869cd6
Skip test_config_file_inaccessible on Windows
2019-12-02 17:59:44 +01:00
Jakub Roztocil
0af486d1b7
Ignore test cleanup rmtree errors (Win)
2019-12-02 17:53:29 +01:00
Jakub Roztocil
6cb822255d
PEP8
2019-12-02 17:46:40 +01:00
Jakub Roztocil
f202f338a4
Remove automatic config file creation to avoid concurrency issues.
...
Close #788
Close #812
2019-12-02 17:43:16 +01:00
Jakub Roztocil
9bae27354e
Add main entry point tests
2019-09-18 11:57:27 +02:00
Jakub Roztocil
0df4db7bb4
Cleanup
2019-09-16 13:28:01 +02:00
Jakub Roztocil
374c371ef1
Add httpie.status
2019-09-16 13:26:18 +02:00
Jakub Roztocil
bece3c77bb
Add one-by-one processing of each HTTP request or response and --offline
2019-09-03 17:14:39 +02:00
Jakub Roztocil
aba3b1ec01
Refactoring
2019-08-31 15:17:10 +02:00
Jakub Roztocil
3e24827f4d
Test that --ignore-netrc
doesn't interfere with --auth
2019-08-31 12:14:44 +02:00
Jakub Roztocil
1dc67a6a38
Allow bypassing .netrc with --ignore-netrc
( close #730 )
2019-08-31 12:09:17 +02:00
Jakub Roztocil
0f654388fc
Python 3 annotations, super(), pathlib, etc.
2019-08-30 15:14:51 +02:00
Jakub Roztocil
9bd8b4e8f7
Don't fail if config dir not writeable ( close #738 )
2019-08-29 14:05:32 +02:00
Jakub Roztocil
ced9212c1f
Allow stdin to be a closed fd #791
2019-08-29 13:39:42 +02:00
Jakub Roztocil
8e04a24b90
Reintroduce $ https
command alias with https://
as default scheme
...
Close #608
2019-08-29 13:08:02 +02:00
Jakub Roztocil
a4d8f1f22e
Refactor --compress
tests
2019-08-29 11:46:08 +02:00
Aleksandr Vinokurov
5ec954c03d
Add compressed requests ( #739 )
...
* Add optional compression of the request's content
This option allows compression of the files and/or data during uploading,
Examples:
http --form --compress POST https://localhost/upload csv@./very-big.csv
http -x -x POST https://localhost/upload foo=bar
cat /var/log/system.log | http -x POST https://localhost/upload
Signed-off-by: Aleksandr Vinokurov <aleksandr.vin@gmail.com>
* Add tests for compression
Signed-off-by: Aleksandr Vinokurov <aleksandr.vin@gmail.com>
* Fix code style issues
Signed-off-by: Aleksandr Vinokurov <aleksandr.vin@gmail.com>
* Fix zlib compression api missuse in Python3
Signed-off-by: Aleksandr Vinokurov <aleksandr.vin@gmail.com>
* Remove tracing from compression logic
Signed-off-by: Aleksandr Vinokurov <aleksandr.vin@gmail.com>
2019-08-29 10:44:59 +02:00
Jakub Roztocil
82081c889b
Fix `--timeout=0
`
2019-08-29 10:06:25 +02:00
Jakub Roztocil
e93de1fbe7
Make test_binary_suppresses_*
deterministic
2019-08-29 09:46:17 +02:00
Jakub Roztocil
a969013bdd
Disable default max headers limit and add --max-headers ( closes #802 )
2019-08-29 09:39:19 +02:00
Jakub Roztocil
b3d2c1876e
Python 2.7 support removal WIP
2019-08-29 08:53:56 +02:00
Jakub Roztocil
4dd9dbd314
fix test_ssl_version II
2019-08-29 08:14:19 +02:00
Jakub Roztocil
29df4cd4f3
fix test_ssl_version on pypy
2019-08-29 08:05:31 +02:00
Jakub Roztocil
df36d6255d
Changed the way the output filename is generated
...
When ``--download`` without ``--output`` results in a redirect,
now only the initial URL is considered, not the final one.
2019-06-24 12:20:09 +02:00
Mickaël Schoentgen
3a46149de1
Fix several ResourceWarning: unclosed file ( #741 )
...
Signed-off-by: Mickaël Schoentgen <contact@tiger-222.fr>
2019-02-04 10:00:30 +01:00
Jakub Roztocil
b88e88d2e3
Fix tests for installation with pyOpenSSL #729
2018-11-14 16:10:08 +01:00
Jakub Roztocil
f6a19cf552
Don't call external URLs from tests #729
2018-11-14 11:42:59 +01:00
Jakub Roztocil
b596fedf13
exit 0
constant: OK
=> SUCCESS
to avoid confusion w/ HTTP 200 OK
2018-11-02 16:07:39 +01:00
Jakub Roztocil
7917f1b40c
Build fixes and clean-up
...
* reflect Python 3.7 release
* fix `pycodestyle` errors
* update `pycodestyle` config
* move `pytest` and `pycodestyle` config to `setup.cfg`
* add `make pycodestyle`
* add `make coveralls`
* etc.
2018-07-12 21:16:16 +02:00
Jakub Roztocil
a50660cc70
Test --timeout with longer delay
...
test_timeout_exit_status fails on Python 2.7
https://travis-ci.org/jakubroztocil/httpie/jobs/390072675#L325
2018-07-12 00:39:31 +02:00
Jakub Roztocil
749b1e2aca
Fix pytest configuration
2018-06-09 11:59:34 +02:00
Jakub Roztocil
0f4dce98c7
Make default HTTP headers case-insensitive
...
Cloase #644
2018-02-22 12:52:57 +01:00
Jakub Roztocil
11be041e06
Rename TestEnvironment
to MockEnvironment
to avoid pytest warnings
...
Close #621
2017-12-28 18:17:48 +01:00
Jakub Roztocil
ec899d70b7
Removed Python 2.6 support
...
* Travis CI doesn't support it anymore.
* It had EOL more than 4 years ago
2017-12-28 18:03:37 +01:00
darshanime
6472ca55e1
fix env version attribute
2017-11-18 19:01:26 +05:30
Pablo Santiago Blum de Aguiar
9776a6dea0
Support requests>=2.14.0
...
From that release onwards, `cert_verify` raises `IOError` [1].
1: https://github.com/kennethreitz/requests/commit/7d8b87c
2017-05-17 20:31:10 -03:00
Jakub Roztocil
c948f98b05
Update links
2017-03-10 11:27:38 +01:00
Jakub Roztocil
7321b9fa4e
Add --verify true/false tests and CHANGELOG
2017-02-17 00:56:07 +01:00
Jakub Roztocil
2efc0db8d4
Cleanup
2016-11-24 00:58:41 +01:00
Jakub Roztocil
0b84180485
Fix Python 2.6
2016-11-23 23:20:52 +01:00
Jakub Roztocil
5a1bd4ba83
Cleanup
2016-11-23 23:15:18 +01:00
Jakub Roztocil
3f7ed35238
Add more plugin API tests
2016-11-23 23:09:45 +01:00
Jakub Roztocil
54a63a810e
Cleanup/docstring
2016-11-23 22:29:36 +01:00
Jakub Roztocil
a49774d3ab
Extend auth plugin API
...
This extends the `AuthPlugin` API by the following attributes:
* `auth_require`: set to `False` to make `--auth, -a` optional
* `auth_parse`: set to `False` to disable `username:password` parsing
(access the raw value passed to `-a` via `self.raw_auth`).
* `prompt_password`: set to`False` to disable password prompt when
no password provided (only relevant when `auth_parse == True`)
These changes should be 100% backwards-compatible.
What needs more testing is auth support in sessions.
Close #433
Close #431
Close #378
Ping teracyhq/httpie-jwt-auth#3
2016-11-23 22:02:12 +01:00
Jakub Roztocil
b879d38b07
Test case for Host
header removal (unimplemented feature)
2016-11-23 22:02:12 +01:00
Jakub Roztocil
6267f21f21
Clean-up
2016-10-26 11:58:47 +02:00
Jakub Roztocil
9b23a4ac9a
Exit with status 130 on CTRL-C
...
http://www.tldp.org/LDP/abs/html/exitcodes.html
#531
2016-10-26 11:53:01 +02:00
Jakub Roztocil
b96eba336d
Fixed test
2016-10-26 11:28:17 +02:00
Jakub Roztocil
48a6d234cb
Need a main()
...
#531
2016-10-26 11:21:30 +02:00
Pedro Rodrigues
8f6bee9196
codestyle fixes
2016-07-19 17:23:40 +01:00
Jakub Roztocil
49a0fb6e0f
More liberal default JSON Accept header
...
Closes #470
2016-07-02 14:18:36 +02:00
Jakub Roztocil
1124d68946
Added --default-scheme <URL_SCHEME>
...
Closes #289
2016-07-02 12:47:02 +02:00
Jakub Roztocil
c8e06b55e1
Fix tests
2016-07-02 12:03:19 +02:00
Jakub Roztocil
5acbc904b7
Added the ability to unset headers
...
Closes #476
2016-07-02 11:50:30 +02:00
Jakub Roztocil
098257c0be
Rename --print-others to --history-print.
2016-07-01 18:49:27 +02:00
Jakub Roztocil
5300b0b490
Fixed #451 - OSError: [Errno 36] File name too long
2016-03-17 15:58:01 +08:00
Jakub Roztocil
35a99fe04b
Added test for -F shortcut
2016-03-09 21:58:34 +08:00
Jakub Roztocil
76e15b227c
Added test_verbose_implies_all
2016-03-09 21:58:11 +08:00
Jakub Roztocil
25d1e8e418
Add Accept-Encoding: identity
for --download
...
#423
2016-03-07 11:46:59 +08:00
Jakub Roztocil
6e1dbadff9
Replace --show-redirects with --all and add --print-others, -P
...
With --all, any intermediary requests/responses are shown (such as redirects
or the initial unauthorized Digest auth request).
The --print-others, -P option works like --print, -p, but only applies to
intermediary requests/responses. The default behaviour is to inherit
the value of -p.
2016-03-07 07:04:23 +08:00
Jakub Roztocil
a6ebc44a48
Run tests against both HTTP and HTTPS
...
Some of the tests now use the `httpbin_both` fixture from pytest-httpbin.
Also, made httpbin's CA trusted by default and added `httpbin_secure_untrusted`
fixture to allow overriding that for particular tests.
2016-03-06 17:42:35 +08:00
Jakub Roztocil
bb49a1f979
Improved --debug output
2016-03-05 01:42:48 +08:00
Jakub Roztocil
4e574e6b8e
Cleanup tests
2016-03-03 18:50:18 +08:00
Jakub Roztocil
5bdf4a3bae
Fixed test_rst_file_syntax error message
2016-03-03 17:22:12 +08:00
Jakub Roztocil
20823c1702
Removed the "implicit_content_type" config option
...
If you used:
"implicit_content_type": "form"
You can achieve the the same result with:
"default_options": ["--form"]
If you used:
"implicit_content_type": "json"
Then it's the default behaviour and it can be removed.
In either case HTTPie will migrate your config file on the next invocation.
2016-03-03 17:14:39 +08:00
Jakub Roztocil
5dbd104c3b
Nobody ain't got time for that
2016-03-03 17:09:34 +08:00
Jakub Roztocil
d24f30d0af
Cleanup
2016-03-02 13:31:23 +08:00
Jakub Roztocil
66e168b2af
Improved failed test output
2016-03-02 13:16:41 +08:00
Jakub Roztocil
dc4da527db
Added --ssl=<PROTOCOL_VERSION>
...
Closes #98
2016-03-02 12:12:05 +08:00
Jakub Roztocil
38e8ef14ec
Run positive tests first
...
Trying to debug failing SSL tests on Travis - kevin1024/pytest-httpbin#32
2016-03-02 10:35:40 +08:00
Jakub Roztocil
f6824f7ade
Cleanup
2016-03-02 02:53:23 +08:00
Jakub Roztocil
7fd46e0b0d
Cleanup
2016-03-02 01:02:11 +08:00
Jakub Roztocil
d4067fcb6d
Added a short timeout for test requests
2016-03-02 00:31:00 +08:00
Jakub Roztocil
56afd1adb9
Test suite cleanup
2016-03-01 23:22:50 +08:00
Jakub Roztocil
5e87a2d7e5
Cleanup
2016-03-01 23:13:45 +08:00
Jakub Roztocil
d30e28c2c7
Test suite improvements
2016-03-01 23:11:06 +08:00
Jakub Roztocil
2a25d71aa4
Refactored main() into program() + main()
2016-03-01 21:10:54 +08:00
Jakub Roztocil
01ca7f0eb2
Ignore redirected stdout with --output, -o
...
This makes it easier to use HTTPie in cron jobs and scripts.
Closes #259
2016-03-01 20:24:50 +08:00
Jakub Roztocil
74e4d0b678
Added JSON detection when `--json, -j
` is set
...
To correctly format JSON responses even when an incorrect ``Content-Type`` is returned.
Closes #92
Closes #349
Closes #368
2016-03-01 14:57:15 +08:00
Jakub Roztocil
ed08ab133e
Refactoring
2016-02-29 15:00:17 +08:00
Jakub Roztocil
5408fb0fb9
Cleanup
2016-02-29 14:31:27 +08:00
Jakub Roztocil
e18b609ef7
Fixed --max-redirects
2016-02-29 14:21:25 +08:00
Jakub Roztocil
356e043651
Added --show-redirects and --max-redirects
...
Closes #157 , #183 , #188 , #246
2016-02-29 14:12:09 +08:00
Jakub Roztočil
25f0156502
Merge pull request #432 from hangtwenty/master
...
Add `-A` as short arg for `--auth-type`
2016-02-28 20:58:23 +08:00
Jakub Roztocil
0f8d04b4df
More robust mime type parsing
...
Closes #344
2016-02-28 20:12:16 +08:00
Jakub Roztocil
1127557742
Cleanup
2016-02-28 19:15:35 +08:00
Jakub Roztocil
5898879395
Fixed --download with --session
...
Closes #412
2016-02-28 19:14:10 +08:00
Jakub Roztocil
8c33e5e3d3
Parser => HTTPieArgumentParser
2016-02-28 19:01:54 +08:00
Jakub Roztocil
56f498c153
Detect Content Type of file uploaded in multipart/form-data request
...
Closes #271 #285 #398
This adds filename-based detection. It's still not possible to specify the
content type manually, though.
2016-02-28 15:49:01 +08:00
Michael Floering
deb7b747cc
Small fix for Python 2.6 compatibility.
...
Relates to #430 / #432 .
2016-01-22 18:46:36 -06:00
Michael Floering
018e1f68de
Merge remote-tracking branch 'upstream/master'
2016-01-22 18:40:53 -06:00
Michael Floering
ac69d4311b
add -A
as short arg for --auth-type
...
Addresses #430
comes with unit test
2016-01-22 18:37:30 -06:00
Jakub Roztocil
84b81c00ea
Fixed tox.ini and improved tests and CONTRIBUTING.txt
2016-01-02 14:07:00 -03:00
Luis San Martin
45df860124
PEP8 errors
2015-10-22 14:32:16 -03:00
Jakub Roztocil
2b51cb6687
Updated links II.
2015-07-03 18:55:45 +02:00
Jakub Roztočil
cbbaac13ea
Merge pull request #300 from msabramo/print_info_about_request_on_error
...
Print info about request on error
2015-03-25 22:21:18 +01:00
Marc Abramowitz
f855de16c2
Increase test coverage for error handling
2015-02-15 23:22:52 -08:00
Marc Abramowitz
51c19cfe10
test_ssl.py: Remove skip failures on PyPy
...
Revert 985f65e
which skipped SSL tests that failed on PyPy because @kevin1024 fixed the problem in pytest-httpbin 0.0.6 (commit f38a312446
)
2015-02-15 21:42:34 -08:00
Jakub Roztocil
985f65ef52
Temporarily skip SSL tests on PyPy due to #308
2015-02-14 23:14:06 +01:00
Jakub Roztocil
6e7e2f2eea
Changed the default JSON Content-Type
to application/json
.
2015-02-14 17:45:15 +01:00
Marc Abramowitz
873102d5eb
Mark test_session_unicode as xfail
...
There are known problems with unicode in headers.
See https://github.com/jakubroztocil/httpie/issues/282
2015-02-10 06:52:51 -08:00
Jakub Roztocil
a5a83c5b77
Prevent a circular import issue.
2015-02-07 16:29:17 +01:00
Jakub Roztocil
b125ce5eae
Allow custom URL schemes
...
Closes #299
See also #276
2015-02-05 14:35:34 +01:00