@dazn/kopytko-framework 3.3.0 → 3.3.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dazn/kopytko-framework",
3
- "version": "3.3.0",
3
+ "version": "3.3.2",
4
4
  "description": "A modern Roku's Brightscript framework",
5
5
  "keywords": [
6
6
  "brightscript",
@@ -67,7 +67,7 @@ function HttpRequest(options as Object, httpInterceptors = [] as Object) as Obje
67
67
  prototype.send = function () as Object
68
68
  method = m.getMethod()
69
69
 
70
- if (method <> "PATCH" AND method <> "POST" AND method <> "PUT") then m._headers.delete("Content-Type")
70
+ if (method <> "PATCH" AND method <> "POST" AND method <> "PUT" AND method <> "DELETE") then m._headers.delete("Content-Type")
71
71
  m._urlTransfer.setHeaders(m._headers)
72
72
 
73
73
  for each interceptor in m._httpInterceptors