← 输入框|github.com|刷新
Skip to content

fix(http): report the real method and body to the network inspector - #11574

Open
NathanWalker wants to merge 1 commit into
mainfrom
fix/http-debug-request-method
Open

NathanWalker wants to merge 1 commit into
mainfrom
fix/http-debug-request-method

Conversation

@NathanWalker

Copy link
Copy Markdown
Contributor

PR Checklist

What is the current behavior?

Both http-request-internal implementations report every request to the DevTools Network panel with a hard-coded method: 'GET' and no postData, so POST/PUT requests show up as GETs with an empty Request Payload (#6897).

What is the new behavior?

A shared getDebugRequestMethodAndBody() helper supplies the request's actual method and, for string or FormData content, its body as postData, on both iOS and Android. Binary (ArrayBuffer) bodies are left out, as before. Covered by a new unit spec; not yet verified in Chrome DevTools against a device.

Closes #6897.

@nx-cloud

nx-cloud Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

View your CI Pipeline Execution ↗ for commit 6b2f33d

Command Status Duration Result
nx test apps-automated -c=android ✅ Succeeded 2m 43s View ↗
nx run-many --target=test --configuration=ci --... ✅ Succeeded <1s View ↗

💡 Verify your cache is correct by running tasks in a sandbox. Read docs ↗


☁️ Nx Cloud last updated this comment at 2026-10-23 18:34:28 UTC

@pkg-pr-new

pkg-pr-new Bot commented Oct 23, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@nativescript/core@11574
npm i https://pkg.pr.new/@nativescript/vite@11574
npm i https://pkg.pr.new/@nativescript/webpack@11574

commit: 6b2f33d

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Debug - Network - Post request - Request Payload will be missing

1 participant