Re:Ask HN: Why does 'View Source' issue a new HTTP request?
by aplummer on Monday December 19, 2016 @07:43AM
(#13211042)
Often the dom has been changed, and you want to know what the server actually sent
Re:Ask HN: Why does 'View Source' issue a new HTTP request?
by jbm on Monday December 19, 2016 @07:46AM
(#13211060)
You can still do that with the inspect menu; if you look at the network history in Chrome, you can see the headers sent, the headers received and the body sent / received.
Re:Ask HN: Why does 'View Source' issue a new HTTP request?
by koolba on Monday December 19, 2016 @07:48AM
(#13211064)
> You can still do that with the inspect menu; if you look at the network history in Chrome, you can see the headers sent, the headers received and the body sent / received.
That only works if you have it open before the page loaded. It doesn't save information about network requests that occurred before the inspector was opened.
Re:Ask HN: Why does 'View Source' issue a new HTTP request?
by noir_lord on Monday December 19, 2016 @08:13AM
(#13211144)
It would be handy if it did though since I continually forget to open inspector before the request.
I'd love a "I'm a developer, store all the things!" setting
However, I would suggest that you use "Inspect element" and open up dev tools - this way you will see DOM exactly as it is rendered.