惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

腾讯CDC
Schneier on Security
Schneier on Security
B
Blog RSS Feed
aimingoo的专栏
aimingoo的专栏
P
Proofpoint News Feed
A
About on SuperTechFans
Recorded Future
Recorded Future
Recent Announcements
Recent Announcements
Microsoft Security Blog
Microsoft Security Blog
L
LangChain Blog
Hugging Face - Blog
Hugging Face - Blog
The GitHub Blog
The GitHub Blog
Google DeepMind News
Google DeepMind News
T
Tailwind CSS Blog
Vercel News
Vercel News
H
Hackread – Cybersecurity News, Data Breaches, AI and More
MyScale Blog
MyScale Blog
V2EX - 技术
V2EX - 技术
N
Netflix TechBlog - Medium
F
Fortinet All Blogs
V
Visual Studio Blog
Martin Fowler
Martin Fowler
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
博客园 - Franky
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
T
The Exploit Database - CXSecurity.com
F
Full Disclosure
Scott Helme
Scott Helme
H
Heimdal Security Blog
博客园 - 叶小钗
Google DeepMind News
Google DeepMind News
Cyberwarzone
Cyberwarzone
Application and Cybersecurity Blog
Application and Cybersecurity Blog
V
Vulnerabilities – Threatpost
Blog — PlanetScale
Blog — PlanetScale
Security Latest
Security Latest
WordPress大学
WordPress大学
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
T
Troy Hunt's Blog
S
SegmentFault 最新的问题
Forbes - Security
Forbes - Security
Jina AI
Jina AI
S
Securelist
小众软件
小众软件
Simon Willison's Weblog
Simon Willison's Weblog
J
Java Code Geeks
AWS News Blog
AWS News Blog
N
News and Events Feed by Topic
博客园 - 三生石上(FineUI控件)
量子位

博客园 - —无 名

asp.net禁止页面缓存,适合各种浏览器 - —无 名 - 博客园 control keymgr.dll Word2007 切换窗口后鼠标失灵的解决办法 正则表达式验证任意个email 水仙花法则 潜伏了好久,开始出来活动 C#比较数组内元素相等-冒泡 【免费软件测试视频-0035】——测试自动化框架--AC框架介绍二 【免费软件测试视频-0034】——测试自动化框架系列之---AC简介之一 【免费软件测试视频-0033】——Jmeter系列之---脚本录制与监控 【免费软件测试视频-0032】——LR系列之---RunTime Setting 【免费软件测试视频-0031】——QTP系列之---功能测试自动化概要介绍 【免费软件测试视频-0030】——TD系列之---后台管理 【免费软件测试视频-0029】——robot系列之---SQABasic归纳总结常用的语句 【免费软件测试视频-0028】——Robot系列之--SQABasic 【免费软件测试视频-0027】——LR系列之---参数化(二) 【免费软件测试视频-0026】——robot系列之--定制 Basic脚本 【免费软件测试视频-0025】——TD系列之--TD简介与安装 【免费软件测试视频-0024】——lr系列之--winsocket的脚本编写技术
System.Net.WebException: 请求因 HTTP 状态 417 失败: Expectation failed 问题
—无 名 · 2009-11-04 · via 博客园 - —无 名

今天被System.Net.WebException: 请求因 HTTP 状态 417 失败: Expectation failed的问题搞死了

通过url访问服务器上的webservice是没问题的

但在程序中访问就出现System.Net.WebException: 请求因 HTTP 状态 417 失败: Expectation failed这个问题了

只能通过配置host指向webservice的服务器才能调用

baidu,google了无数次 ,原来是请求头的问题

在new了webservice后,调用webservice的方法之前加上

System.Net.ServicePointManager.Expect100Continue = false;

搞掂,世界一下清净了。