@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.
Files changed (2) hide show
  1. package/README.md +11 -0
  2. 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pb33f/wiretap",
3
- "version": "0.0.14",
3
+ "version": "0.0.15",
4
4
  "description": "The world's coolest OpenAPI contract compliance API Proxy in the world.",
5
5
  "type": "module",
6
6
  "author": "Princess Beef Heavy Industries, LLC / Quobix",