在C#中的图像URL验证 [英] Image URL validation in C#

查看:160
本文介绍了在C#中的图像URL验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我如何检查我的图片链接适用于IE和FF?例如此链接只是在FF,没有图像显示在IE浏览器。我检查了图像和色彩空间是RGB。所以图像空间问题被排除在外。

How can i check if my image link is valid for both IE and FF? For example this link works just in FF, no image is displayed in IE browser. I checked the image and the color space is RGB. So image space problem is excluded.

感谢。

推荐答案

获取小提琴手的副本,看看响应每个浏览器的差异。您可能会发现标题是错误的,FF是补偿而IE则不是。

Get a copy of fiddler to see the differences in response for each of the browsers. You may find that the headers are wrong and FF is correcting but IE is not.

http://www.fiddler2.com/fiddler2/

希望这有助于

这篇关于在C#中的图像URL验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆