<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How to do HTTP Basic Auth in Ajax</title>
	<atom:link href="http://coderseye.com/2007/how-to-do-http-basic-auth-in-ajax.html/feed" rel="self" type="application/rss+xml" />
	<link>http://coderseye.com/2007/how-to-do-http-basic-auth-in-ajax.html</link>
	<description>Programming is passion made real</description>
	<lastBuildDate>Thu, 12 Aug 2010 01:54:52 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Dexif</title>
		<link>http://coderseye.com/2007/how-to-do-http-basic-auth-in-ajax.html#comment-455</link>
		<dc:creator>Dexif</dc:creator>
		<pubDate>Sat, 15 May 2010 15:44:46 +0000</pubDate>
		<guid isPermaLink="false">http://coderseye.com/2007/how-to-do-http-basic-auth-in-ajax.html#comment-455</guid>
		<description>Thanks for the idea!</description>
		<content:encoded><![CDATA[<p>Thanks for the idea!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Filip</title>
		<link>http://coderseye.com/2007/how-to-do-http-basic-auth-in-ajax.html#comment-454</link>
		<dc:creator>Filip</dc:creator>
		<pubDate>Sat, 13 Mar 2010 17:56:13 +0000</pubDate>
		<guid isPermaLink="false">http://coderseye.com/2007/how-to-do-http-basic-auth-in-ajax.html#comment-454</guid>
		<description>in jQuery you can add:
password: &#039;pass&#039;,
username: &#039;name&#039;
no need for encoding and building headers.

cheers</description>
		<content:encoded><![CDATA[<p>in jQuery you can add:<br />
password: &#8216;pass&#8217;,<br />
username: &#8216;name&#8217;<br />
no need for encoding and building headers.</p>
<p>cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hans Brough</title>
		<link>http://coderseye.com/2007/how-to-do-http-basic-auth-in-ajax.html#comment-453</link>
		<dc:creator>Hans Brough</dc:creator>
		<pubDate>Tue, 12 May 2009 21:02:37 +0000</pubDate>
		<guid isPermaLink="false">http://coderseye.com/2007/how-to-do-http-basic-auth-in-ajax.html#comment-453</guid>
		<description>useful for making requests of same something from the same domain ... but if you are using a service API (like twitter) using xmlhhtprequest isn&#039;t allowed because of the same domain security rule in JS.

So... that brings to mind the script tag hack (otherwise known as JONP) but how to set the Authorization header in this case?</description>
		<content:encoded><![CDATA[<p>useful for making requests of same something from the same domain &#8230; but if you are using a service API (like twitter) using xmlhhtprequest isn&#8217;t allowed because of the same domain security rule in JS.</p>
<p>So&#8230; that brings to mind the script tag hack (otherwise known as JONP) but how to set the Authorization header in this case?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ivan</title>
		<link>http://coderseye.com/2007/how-to-do-http-basic-auth-in-ajax.html#comment-452</link>
		<dc:creator>ivan</dc:creator>
		<pubDate>Wed, 25 Mar 2009 14:38:05 +0000</pubDate>
		<guid isPermaLink="false">http://coderseye.com/2007/how-to-do-http-basic-auth-in-ajax.html#comment-452</guid>
		<description>function make_base_auth(user, password) {

password =&gt; pass

cheers, tnx</description>
		<content:encoded><![CDATA[<p>function make_base_auth(user, password) {</p>
<p>password =&gt; pass</p>
<p>cheers, tnx</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nathan Winant</title>
		<link>http://coderseye.com/2007/how-to-do-http-basic-auth-in-ajax.html#comment-451</link>
		<dc:creator>Nathan Winant</dc:creator>
		<pubDate>Thu, 09 Oct 2008 00:44:50 +0000</pubDate>
		<guid isPermaLink="false">http://coderseye.com/2007/how-to-do-http-basic-auth-in-ajax.html#comment-451</guid>
		<description>This was hugely helpful. Thanks!</description>
		<content:encoded><![CDATA[<p>This was hugely helpful. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chad Woolley</title>
		<link>http://coderseye.com/2007/how-to-do-http-basic-auth-in-ajax.html#comment-450</link>
		<dc:creator>Chad Woolley</dc:creator>
		<pubDate>Wed, 08 Oct 2008 17:55:33 +0000</pubDate>
		<guid isPermaLink="false">http://coderseye.com/2007/how-to-do-http-basic-auth-in-ajax.html#comment-450</guid>
		<description>Nice post, thanks.  This helped me.</description>
		<content:encoded><![CDATA[<p>Nice post, thanks.  This helped me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christoph</title>
		<link>http://coderseye.com/2007/how-to-do-http-basic-auth-in-ajax.html#comment-449</link>
		<dc:creator>Christoph</dc:creator>
		<pubDate>Mon, 29 Sep 2008 16:24:22 +0000</pubDate>
		<guid isPermaLink="false">http://coderseye.com/2007/how-to-do-http-basic-auth-in-ajax.html#comment-449</guid>
		<description>Thx for the tutorial. I am writing a small weewar-tool too. While trying to get the login working i found a small bug in step 3.
You need to execute xml.open() first an than user xml.setRequestHeader(). Otherwise you get an Error.</description>
		<content:encoded><![CDATA[<p>Thx for the tutorial. I am writing a small weewar-tool too. While trying to get the login working i found a small bug in step 3.<br />
You need to execute xml.open() first an than user xml.setRequestHeader(). Otherwise you get an Error.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: On web development</title>
		<link>http://coderseye.com/2007/how-to-do-http-basic-auth-in-ajax.html#comment-448</link>
		<dc:creator>On web development</dc:creator>
		<pubDate>Tue, 17 Jun 2008 13:16:29 +0000</pubDate>
		<guid isPermaLink="false">http://coderseye.com/2007/how-to-do-http-basic-auth-in-ajax.html#comment-448</guid>
		<description>The XMLHttpRequest Object supports Basic Auth natively.

xml = new XMLHttpRequest();
xml.open(â€™GETâ€™,url, true, username, password);</description>
		<content:encoded><![CDATA[<p>The XMLHttpRequest Object supports Basic Auth natively.</p>
<p>xml = new XMLHttpRequest();<br />
xml.open(â€™GETâ€™,url, true, username, password);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: marilyn</title>
		<link>http://coderseye.com/2007/how-to-do-http-basic-auth-in-ajax.html#comment-447</link>
		<dc:creator>marilyn</dc:creator>
		<pubDate>Thu, 14 Feb 2008 02:41:11 +0000</pubDate>
		<guid isPermaLink="false">http://coderseye.com/2007/how-to-do-http-basic-auth-in-ajax.html#comment-447</guid>
		<description>Just curious if you had any trouble with the setRequestHeader() being called before open() in that AJAX call.  It&#039;s causing an error over here in Firefox, and nothing seems to be happening in IE...</description>
		<content:encoded><![CDATA[<p>Just curious if you had any trouble with the setRequestHeader() being called before open() in that AJAX call.  It&#8217;s causing an error over here in Firefox, and nothing seems to be happening in IE&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arne</title>
		<link>http://coderseye.com/2007/how-to-do-http-basic-auth-in-ajax.html#comment-446</link>
		<dc:creator>Arne</dc:creator>
		<pubDate>Wed, 24 Oct 2007 09:00:03 +0000</pubDate>
		<guid isPermaLink="false">http://coderseye.com/2007/how-to-do-http-basic-auth-in-ajax.html#comment-446</guid>
		<description>good post, I adapted it for YUI, which I use in a a current project.</description>
		<content:encoded><![CDATA[<p>good post, I adapted it for YUI, which I use in a a current project.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
