Uh oh!
There was an error while loading. Please reload this page.
inspector: add protocol methods retrieving sent/received data - #58645
Conversation
Add protocol method `Network.dataSent` to buffer request data. And expose protocol methods `Network.getRequestPostData` and `Network.getResponseBody` allowing devtool to retrieve buffered data.
0d15711 to
5b2f8a5CompareCodecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@## main #58645 +/- ##
========================================
Coverage 90.15% 90.15% ========================================
Files 636 637 +1 Lines 187891 188001 +110 Branches 36879 36899 +20 ========================================
+ Hits 169386 169493 +107 + Misses 11272 11245 -27 - Partials 7233 7263 +30
🚀 New features to boost your workflow:
|
nodejs-github-bot
commented
Jun 19, 2025
legendecas
commented
Jun 19, 2025
@nodejs/inspector would you mind taking a look? Thank you! |
nodejs-github-bot
commented
Jun 19, 2025
nodejs-github-bot
commented
Jun 20, 2025
Landed in 5a14ea6 |
Add protocol method `Network.dataSent` to buffer request data. And expose protocol methods `Network.getRequestPostData` and `Network.getResponseBody` allowing devtool to retrieve buffered data. PR-URL: #58645 Reviewed-By: Ryuhei Shima <shimaryuhei@gmail.com>
Add protocol method `Network.dataSent` to buffer request data. And expose protocol methods `Network.getRequestPostData` and `Network.getResponseBody` allowing devtool to retrieve buffered data. PR-URL: #58645 Reviewed-By: Ryuhei Shima <shimaryuhei@gmail.com>
Add protocol method `Network.dataSent` to buffer request data. And expose protocol methods `Network.getRequestPostData` and `Network.getResponseBody` allowing devtool to retrieve buffered data. PR-URL: #58645 Reviewed-By: Ryuhei Shima <shimaryuhei@gmail.com>
@legendecas sorry for tagging, but I have a question, from my usage looks like this implementation covers From my understanding we could hook into auto decompress option in http client and then use that depending on conent-encoding in getResponseBody. Just trying to figure out if this is intended or missed? |
legendecas
commented
Jan 22, 2026
@capJavert yes, there is a PR #61226 for this issue. |

Add protocol method
Network.dataSentto buffer request data. Andexpose protocol methods
Network.getRequestPostDataandNetwork.getResponseBodyallowing devtool to retrieve buffered data.