mirror of
https://github.com/servo/servo.git
synced 2025-09-27 23:30:08 +01:00
net: Send ResponseContentObj to Devtools (#38625)
Currently, the response tab for a request's detail in devtools does not show the available data, this was due to how the content is being structured (not the way firefox's devtools client expects it) and also the body being discarded and not stored in the actor. This PR stores the body in the actor , which is then retrieved in `getResponseContent` and then use it to instantiate the new struct `ResponseContentObj` which matches the format firefox's expects Fixes: https://github.com/servo/servo/issues/38128 --------- Signed-off-by: uthmaniv <uthmanyahayababa@gmail.com> Signed-off-by: Josh Matthews <josh@joshmatthews.net> Co-authored-by: Josh Matthews <josh@joshmatthews.net>
This commit is contained in:
parent
d409137e4c
commit
02dca0fb21
5 changed files with 184 additions and 9 deletions
1
Cargo.lock
generated
1
Cargo.lock
generated
|
@ -1910,6 +1910,7 @@ name = "devtools"
|
|||
version = "0.0.1"
|
||||
dependencies = [
|
||||
"base",
|
||||
"base64 0.22.1",
|
||||
"chrono",
|
||||
"crossbeam-channel",
|
||||
"devtools_traits",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue