[英]How can a HTTP request be instantiated with a different host?
Strange one here folks.奇怪的是这里的人。
I'm studiying a web application's inner workings using Fiddler and have become a bit stumped.我正在使用 Fiddler 研究 web 应用程序的内部工作原理,并且有点难过。 I'm requesting /account
via the browser and Fiddler shows in the "Host" column website.local
as expected since this is the URL the browser is pointing at.我通过浏览器请求/account
并且 Fiddler 按预期显示在“主机”列website.local
中,因为这是浏览器指向的 URL。
Immediately after this a second request is made, however this time the host is services.website.com
.在此之后立即发出第二个请求,但是这次主机是services.website.com
。 I also cannot find any script in /account
that makes this request.我在/account
中也找不到任何发出此请求的脚本。
So how can the Host change?那么Host怎么改变呢? Where is the response being sent to?响应发送到哪里? Where can this be getting called from?这可以从哪里调用?
I'd expect that the server is sending a redirect to services.website.com
: Fiddler isn't showing any redirects?我希望服务器正在向services.website.com
发送重定向:提琴手没有显示任何重定向?
It depends on what really is in the first response that you receive.这取决于您收到的第一个回复中的真实内容。 When you see a second request in Fiddler, does the page change too (in the browser)?当您在 Fiddler 中看到第二个请求时,页面是否也发生了变化(在浏览器中)?
It will help a great deal if you could share the part of the Fiddler trace.如果您可以共享 Fiddler 跟踪的一部分,将会有很大帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.