@http-forge/core 0.6.28 → 0.6.30
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 +6 -0
- package/dist/index.js +204 -200
- package/dist/index.mjs +205 -201
- package/dist/infrastructure/http/native-http-client.d.ts +20 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -282,6 +282,12 @@ const forge = new ForgeContainer({
|
|
|
282
282
|
|
|
283
283
|
## 🧯 Troubleshooting
|
|
284
284
|
|
|
285
|
+
### Request body not reaching backend
|
|
286
|
+
|
|
287
|
+
- `@http-forge/core` sends request bodies for all HTTP methods. This includes DELETE, GET, HEAD, and OPTIONS, matching RFC 9110 and Postman behavior.
|
|
288
|
+
- When `useNativeHttp: true` is enabled, the native Node.js HTTP client uses explicit `Content-Length` handling so backend services receive the body payload reliably.
|
|
289
|
+
- If a request still fails, verify the request headers and body content in the response detail or development logs.
|
|
290
|
+
|
|
285
291
|
### Collection Not Found
|
|
286
292
|
|
|
287
293
|
- Verify the path passed to `loadCollection()` points to an existing `.forge.json` file or collection folder.
|