<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://api-wiki.apps.rackspace.com/api-wiki/index.php?action=history&amp;feed=atom&amp;title=Handling_HTTP_code_417%3A_Expectation_failed</id>
		<title>Handling HTTP code 417: Expectation failed - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://api-wiki.apps.rackspace.com/api-wiki/index.php?action=history&amp;feed=atom&amp;title=Handling_HTTP_code_417%3A_Expectation_failed"/>
		<link rel="alternate" type="text/html" href="http://api-wiki.apps.rackspace.com/api-wiki/index.php?title=Handling_HTTP_code_417:_Expectation_failed&amp;action=history"/>
		<updated>2026-05-29T20:53:56Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.29.1</generator>

	<entry>
		<id>http://api-wiki.apps.rackspace.com/api-wiki/index.php?title=Handling_HTTP_code_417:_Expectation_failed&amp;diff=390&amp;oldid=prev</id>
		<title>Zhen.wei: add http 417 error page</title>
		<link rel="alternate" type="text/html" href="http://api-wiki.apps.rackspace.com/api-wiki/index.php?title=Handling_HTTP_code_417:_Expectation_failed&amp;diff=390&amp;oldid=prev"/>
				<updated>2010-06-15T18:02:16Z</updated>
		
		<summary type="html">&lt;p&gt;add http 417 error page&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Some HTTP libraries automatically add a header named Expect and fill it with '100-continue'.  If your program is getting the HTTP status code 417 you will need to disable the header using your language's library.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''.NET'''&lt;br /&gt;
&lt;br /&gt;
The ServicePointManager has a property named Expect100Continue. Set this to false.&lt;br /&gt;
&amp;lt;pre&amp;gt;System.Net.ServicePointManager.Expect100Continue = false;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''PHP'''&lt;br /&gt;
&lt;br /&gt;
If you're using PHP's curl, manually empty the Expect header.&lt;br /&gt;
&amp;lt;pre&amp;gt;curl_setopt($ch, CURLOPT_HTTPHEADER, array('Expect:'));&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Zhen.wei</name></author>	</entry>

	</feed>