<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Mike Brittain &#187; mac</title>
	<atom:link href="http://www.mikebrittain.com/blog/tag/mac/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mikebrittain.com/blog</link>
	<description>Internet, mobile applications, skiing, snowboarding, food... you know, whatever comes to mind.</description>
	<lastBuildDate>Sun, 22 Jan 2012 16:24:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>How to Setup a Web Proxy for the iPhone Simulator</title>
		<link>http://www.mikebrittain.com/blog/2008/09/04/web-proxy-iphone-simulator/</link>
		<comments>http://www.mikebrittain.com/blog/2008/09/04/web-proxy-iphone-simulator/#comments</comments>
		<pubDate>Fri, 05 Sep 2008 02:31:09 +0000</pubDate>
		<dc:creator>Mike Brittain</dc:creator>
				<category><![CDATA[WWW]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[http]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[proxy]]></category>
		<category><![CDATA[sdk]]></category>

		<guid isPermaLink="false">http://www.mikebrittain.com/blog/?p=144</guid>
		<description><![CDATA[I have been trying to get a better view of how the iPhone makes use of certain HTTP headers.  When developing with Firefox, I usually turn on my Charles Proxy or enable a extension for watching headers, like livehttpheaders.  Fooling around with the iPhone simulator, I couldn&#8217;t find any obvious preference settings.  I also dug [...]]]></description>
			<content:encoded><![CDATA[<p>I have been trying to get a better view of how the iPhone makes use of certain HTTP headers.  When developing with Firefox, I usually turn on my <a href="http://www.charlesproxy.com/">Charles Proxy</a> or enable a extension for watching headers, like <a href="http://livehttpheaders.mozdev.org/">livehttpheaders</a>.  Fooling around with the iPhone simulator, I couldn&#8217;t find any obvious preference settings.  I also dug around with the &#8220;defaults&#8221; utility in OS X, but only came up with the following keys:<br />
<code><br />
mikebrittain$ defaults read com.apple.iPhoneSimulator<br />
{<br />
"NSWindow Frame iPhoneSimulatorWindow" = "287 10 386 742 0 0 1280 778 ";<br />
windowOrientation = 1;<br />
}</code></p>
<p>So I took a closer look at Charles to see if there was a solution in there.  I was surprised to find that this is actually very easy to do.  Under the <strong>Proxy</strong> menu, there&#8217;s an option for <strong>Mac OS X Proxy</strong>.  Enabling that seems to make it possible to have all HTTP traffic proxied through Charles.</p>
<p>Are there other solutions I&#8217;m missing?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikebrittain.com/blog/2008/09/04/web-proxy-iphone-simulator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

