61.6k views
1 vote
Suppose also that after downloading the base file, the browser encounters a JPEG object in the base HTML file that is stored on server A and therefore makes another GET request to server B for that referenced JPEG object.

a) Server A
b) Server B
c) Both Server A and Server B
d) Neither Server A nor Server B

User Marandil
by
8.5k points

1 Answer

2 votes

Final answer:

The browser should make a GET request to Server A for the JPEG object, as that is the server where the object is stored, despite the claim that it is making a request to Server B.

Step-by-step explanation:

The question asks about where a JPEG object, referenced in an HTML file that has been downloaded, would be retrieved from if the browser makes a GET request. According to the question, the JPEG object is stored on server A, and the browser is making a GET request to server B. For a browser to retrieve content from the web, it must contact the server where the content is hosted. Therefore, if the JPEG object is stored on server A, but the GET request is sent to server B, it seems there might be an error or a misunderstanding, because the browser should request the JPEG from server A where it is stored, not server B.

User Silviu Postavaru
by
7.8k points