<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>~james/developer/blog - Latest Comments in HTTP POST via the CFNetwork stack</title><link>http://jamesdevblog.disqus.com/</link><description></description><atom:link href="https://jamesdevblog.disqus.com/http_post_via_the_cfnetwork_stack_65/latest.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Thu, 07 May 2009 22:36:03 -0000</lastBuildDate><item><title>Re: HTTP POST via the CFNetwork stack</title><link>http://jameswilliams.me/developer/blog/2008/08/http-post-via-the-cfnetwork-stack/#comment-9115945</link><description>&lt;p&gt;No. Of course not. For a variety of reasons.&lt;/p&gt;&lt;p&gt;One: your question was asked in a somewhat incoherent fashion. I had to read it several times before I understood it. As you troll the Internet trying to find people to do your work for you, try something like this instead: "I have a video stored on an IIS server (which uses NTLM authentication) which I would like to play on an iPhone. As I am far too stupid and lazy to do the work myself, would you please give the code to me? I've been searching Google for the last two weeks, but so far, I have not found anyone willing to do my work for free!"&lt;/p&gt;&lt;p&gt;Ordinarily, I would give someone a pass for not speaking English as a first language. However, based on other data, I believe that you actually CAN speak English, but are just too lazy to do it.&lt;/p&gt;&lt;p&gt;Two: You're asking me to do work for you. This work is either for a job (so you're basically asking me to give you money) or for homework (so you're basically asking me to help you cheat). That's unethical. Your mother would be ashamed, assuming she's smart enough to know what any of those words means. Based on the child she raised, I suspect she's not.&lt;/p&gt;&lt;p&gt;Three: This blog post is about OS X development. You're asking about iPhone development. These are very similar, but also very different. Your arrogance in assuming that I would gleefully spend time learning new skills just so I could work for you for free has reached new heights. I can't even think of a good insult for this. I guess it's a freebie.&lt;/p&gt;&lt;p&gt;In conclusion, I kindly ask that you throw your computer into the nearest river. You are polluting my Internet with prideful ignorance and I want you to go away.  &lt;br&gt;  &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">James "willia4" Williams</dc:creator><pubDate>Thu, 07 May 2009 22:36:03 -0000</pubDate></item><item><title>Re: HTTP POST via the CFNetwork stack</title><link>http://jameswilliams.me/developer/blog/2008/08/http-post-via-the-cfnetwork-stack/#comment-9111000</link><description>&lt;p&gt;Hi...&lt;/p&gt;&lt;p&gt;I am trying to play a video on iPhone which is on IIS with integrated windows authentication. Can you post the code to do that..i am trying form last 2weeks, but no luck..&lt;/p&gt;&lt;p&gt;thanks..&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">nareshbojja</dc:creator><pubDate>Thu, 07 May 2009 19:34:02 -0000</pubDate></item><item><title>Re: HTTP POST via the CFNetwork stack</title><link>http://jameswilliams.me/developer/blog/2008/08/http-post-via-the-cfnetwork-stack/#comment-6710172</link><description>&lt;p&gt;Thanks for the tip!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">James "willia4" Williams</dc:creator><pubDate>Fri, 27 Feb 2009 16:00:09 -0000</pubDate></item><item><title>Re: HTTP POST via the CFNetwork stack</title><link>http://jameswilliams.me/developer/blog/2008/08/http-post-via-the-cfnetwork-stack/#comment-6710060</link><description>&lt;p&gt;Thanks for the guide!&lt;/p&gt;&lt;p&gt;One nitpick: I've had trouble getting this code to work for submitting POST requests - the server wasn't seeing the parameters.  Eventually, I found that using "application/x-www-form-urlencoded" for the Content-Type header field instead of "charset=utf-8" did the trick.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alex</dc:creator><pubDate>Fri, 27 Feb 2009 15:56:20 -0000</pubDate></item><item><title>Re: HTTP POST via the CFNetwork stack</title><link>http://jameswilliams.me/developer/blog/2008/08/http-post-via-the-cfnetwork-stack/#comment-3076316</link><description>&lt;p&gt;NSMutableData is a subclass of NSData so you can use it in every single place you can use an NSData. So just use NSString's -(id)initWithData:encoding: message exactly like I did at the very bottom of the example code. And pass in your NSMutableData as the first parameter to the message.&lt;/p&gt;&lt;p&gt;You should also consider reading up on Objective-C basics before tackling CoreFoundation APIs. If you don't understand things like subclassing and Objective-C's dynamic type system, you'll be pretty lost.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">James "willia4" Williams</dc:creator><pubDate>Wed, 15 Oct 2008 17:10:04 -0000</pubDate></item><item><title>Re: HTTP POST via the CFNetwork stack</title><link>http://jameswilliams.me/developer/blog/2008/08/http-post-via-the-cfnetwork-stack/#comment-3076237</link><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;first of all thank you for this great example code!&lt;br&gt;But one thing leaves me puzzled: How to convert NSMutableData to NSString?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">lars</dc:creator><pubDate>Wed, 15 Oct 2008 17:03:37 -0000</pubDate></item><item><title>Re: HTTP POST via the CFNetwork stack</title><link>http://jameswilliams.me/developer/blog/2008/08/http-post-via-the-cfnetwork-stack/#comment-2819124</link><description>&lt;p&gt;Thanks for the article, it really helped.&lt;br&gt;p.s. Apple guidelines are really useless.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jim</dc:creator><pubDate>Fri, 03 Oct 2008 06:31:32 -0000</pubDate></item></channel></rss>