Aron Griffis
dee580f971
Merge pull request #196 from agriffis/remove-replace
...
Enable header replacement rather than removal
2015-11-07 19:01:00 -05:00
Aron Griffis
6919c06b8c
Add documentation for new features of filter_headers, filter_query_parameters and filter_post_data_parameters
2015-11-07 18:50:32 -05:00
Aron Griffis
77de8dc47e
Update VCR params to use new filters.
2015-11-07 17:05:25 -05:00
Aron Griffis
cb40a45eba
Add replace_post_data_parameters()
2015-11-07 17:05:25 -05:00
Aron Griffis
678586904b
Add replace_query_parameters()
2015-11-07 17:05:25 -05:00
Aron Griffis
ddbf0464f4
Add replace_headers()
2015-11-07 17:05:25 -05:00
Aron Griffis
e14b94789b
Add note and link for vcrpy-unittest.
2015-11-07 17:04:56 -05:00
Aron Griffis
e6dba270ec
Blindly add modules to be documented
2015-11-07 16:58:10 -05:00
Aron Griffis
615cf8661a
Add PyPI badge.
2015-11-07 16:47:15 -05:00
Aron Griffis
ce6656c4d5
Rename waffle badge from 'ready' to 'waffle' which seems clearer.
2015-11-07 16:47:06 -05:00
Aron Griffis
8d083ba578
Split README.rst into appropriate docs sections
2015-11-07 16:38:02 -05:00
Aron Griffis
f0f5334c40
Use sphinx_rtd_theme building docs locally
2015-11-07 16:37:16 -05:00
Aron Griffis
8de2312ccc
Switch to default RtD theme
2015-11-07 15:26:22 -05:00
Aron Griffis
c3f5ae84b1
Bump docs version to match project version 1.7.4
2015-11-07 15:23:14 -05:00
Ivan Malison
f6b8e4f8e7
Lint cleanup
2015-10-25 20:30:33 -07:00
Ivan Malison
2ac3fa9abe
v1.7.4
v1.7.4
2015-10-18 16:48:27 -07:00
Ivan 'Goat' Malison
1324feae99
Merge pull request #217 from bcen/fix-decoration-no-return
...
Fix use_cassette when used as decorator does not return the wrapped function's return value
2015-10-02 00:11:20 -07:00
Bocai Cen
7990c549d1
fix decoration when in _handle_function does not return the wrapped function return value
2015-10-01 23:17:15 -04:00
Ivan 'Goat' Malison
327797c4ff
Merge pull request #206 from tyewang/propogate_attribute_changes_to_real_connection_on_stubs
...
Attributes set on VCRConnection now also get set on the real_connection
2015-09-20 00:56:54 -07:00
Tye Wang
ac510097e0
Add TODO and elaborate on comment
2015-09-18 12:19:17 -04:00
Ivan Malison
00d973a0f5
sphinx skeleton
2015-09-13 11:27:08 -07:00
Tye Wang
79ff59feae
Attributes set on VCRConnection now also get set on the real_connection
2015-09-03 14:35:28 -04:00
Ivan 'Goat' Malison
34252bc234
Merge pull request #192 from agriffis/insensitive-headers
...
Make request.headers always a CaseInsensitiveDict.
2015-08-28 14:47:45 -07:00
Ivan Malison
5f78657c52
test_boto cleanup
2015-08-28 13:03:09 -07:00
Aron Griffis
00b4e451fe
Full image URL in README.rst
...
...so it shows properly on PyPI
2015-08-28 14:46:08 -04:00
Aron Griffis
44564ba39f
Merge pull request #198 from gwillem/patch-1
...
Add instructions on using libyaml
2015-08-28 13:01:14 -04:00
Aron Griffis
7f02a7e999
Fix a bad merge in README.rst
...
This change seems to have gotten lost in #200
2015-08-28 12:57:05 -04:00
Ivan Malison
c28adea66d
Fix typo in release notes
2015-08-28 09:20:54 -07:00
Aron Griffis
3f006cc261
Merge pull request #201 from agriffis/path-transformer-default
...
Default path_transformer=None. Fixes #199
2015-08-28 07:55:13 -04:00
Aron Griffis
0eda8ba482
Default path_transformer=None. Fixes #199
2015-08-28 07:25:03 -04:00
Ivan 'Goat' Malison
d620095c36
Merge pull request #200 from kevin1024/test_class_meta
...
Test class meta
2015-08-28 03:19:54 -07:00
Ivan Malison
c8180326ad
Automatically decorate dynamically added methods with auto_decorate
2015-08-28 02:17:01 -07:00
Willem de Groot
d55d593d1c
Changed bash to sh and fix syntax
...
Online Github editting is not very convenient after all :)
2015-08-28 11:14:01 +02:00
Willem de Groot
04f4a7fd2f
Add bash code
2015-08-28 11:11:03 +02:00
Ivan Malison
6fd04f3675
Add test_case method to VCR
...
this method provides a class that can be inherited from to decorate all
test methods on the desired class with use_cassette using the relevant vcr
2015-08-28 01:44:39 -07:00
Ivan Malison
420f83b6b1
Move badges to top of README.
2015-08-28 01:44:39 -07:00
Aron Griffis
c6adcc83b3
Spello on use_cassette, thanks @Diaoul
2015-08-27 13:39:01 -04:00
Willem de Groot
dc61f5f520
Typoe
2015-08-27 11:20:11 +02:00
Willem de Groot
4450cb992f
Add instructions on using libyaml
...
For a 10x speed increase!
2015-08-27 11:19:31 +02:00
Aron Griffis
083b1ec686
Move gitter chat with other badges
2015-08-26 17:34:45 -04:00
Ivan 'Goat' Malison
97c924d8dd
Merge pull request #197 from gitter-badger/gitter-badge
...
Add a Gitter chat badge to README.rst
2015-08-26 11:49:26 -07:00
The Gitter Badger
65398131a4
Added Gitter badge
2015-08-26 17:29:20 +00:00
Aron Griffis
7312229aef
Add HeadersDict, and mark add_header deprecated.
...
HeadersDict is a subclass of CaseInsensitiveDict with two new features:
1. Preserve the case of the header key from the first time it was set.
This means that later munging won't modify the key case. (You can
force picking up the new case with `del` followed by setting.)
2. If the value is a list or tuple, unpack it and store the first
element. This is the same as how `Request.add_header()` used to work.
For backward compatibility this commit preserves `Request.add_header()` but
marks it deprecated.
2015-08-25 06:30:50 -04:00
Ivan 'Goat' Malison
b62265c0ad
Merge pull request #194 from agriffis/travis-requests26
...
Add requests-2.6.0 to travis
2015-08-24 15:14:12 -07:00
Ivan 'Goat' Malison
d00c60a4ad
Merge pull request #193 from agriffis/new-travis
...
Container-based travis for faster tests
2015-08-24 15:13:59 -07:00
Aron Griffis
4ddfb47c9c
Add requests-2.6.0 to travis
...
This is tested already in tox, but seems to have been omitted accidentally
from the travis config.
2015-08-24 16:48:54 -04:00
Aron Griffis
f0b7c3f1e0
Container-based travis for faster tests
2015-08-24 16:28:29 -04:00
Aron Griffis
646d12df94
More compact expression with dict.get()
2015-08-24 16:19:34 -04:00
Aron Griffis
eda64bc3be
Make request.headers always a CaseInsensitiveDict.
...
Previously request.headers was a normal dict (albeit with the
request.add_header interface) which meant that some code paths would do
case-sensitive matching, for example remove_post_data_parameters which
tests for 'Content-Type'. This change allows all code paths to get the same
case-insensitive treatment.
Additionally request.headers becomes a property to enforce upgrading it to
a CaseInsensitiveDict even if assigned.
2015-08-24 16:19:34 -04:00
Ivan Malison
efe6744eda
v1.7.3
v1.7.3
2015-08-23 18:10:01 -07:00