-
Notifications
You must be signed in to change notification settings - Fork 0
Headers filter block
Sergey edited this page Jul 28, 2018
·
3 revisions
This block can be provided during VCR configuration (instead of fixed filter map) to make it possible to remove sensitive data from request headers, before request will be recorded.
Block signature shown below:
^(NSURLRequest *request, NSMutableDictionary *headers);
Name | Type | Description |
---|---|---|
request |
NSURLRequest |
Reference on request for which headers filtering has been performed. |
headers |
NSMutableDictionary |
Reference on dictionary with request's headers which can be modified. |