@pb33f/wiretap 0.0.14 → 0.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -27,6 +27,17 @@ paths:
|
|
|
27
27
|
'^/pb33f/(\w+)/test/': ''
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
+
## Dropping certain headers
|
|
31
|
+
|
|
32
|
+
To prevent certain headers from being proxies, you can drop them using the `headers` config property and the `drop` property
|
|
33
|
+
which is an array of headers to drop from all outbound requests..
|
|
34
|
+
|
|
35
|
+
```yaml
|
|
36
|
+
headers:
|
|
37
|
+
drop:
|
|
38
|
+
- Origin
|
|
39
|
+
```
|
|
40
|
+
|
|
30
41
|
## Command Line Interface
|
|
31
42
|
|
|
32
43
|
### Available Flags
|
package/package.json
CHANGED