<?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>ZD&#039;s random thoughts &#187; curb</title>
	<atom:link href="http://zdinfo.com/tag/curb/feed/" rel="self" type="application/rss+xml" />
	<link>http://zdinfo.com</link>
	<description>technology, life, and more</description>
	<lastBuildDate>Wed, 24 Mar 2010 12:56:48 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>HTTP Post to a remote server in Ruby</title>
		<link>http://zdinfo.com/2009/02/06/http-post-to-a-remote-server-in-ruby/</link>
		<comments>http://zdinfo.com/2009/02/06/http-post-to-a-remote-server-in-ruby/#comments</comments>
		<pubDate>Fri, 06 Feb 2009 17:36:56 +0000</pubDate>
		<dc:creator>zd</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[curb]]></category>
		<category><![CDATA[http post]]></category>
		<category><![CDATA[rest-client]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://zdinfo.com/?p=25</guid>
		<description><![CDATA[ ]]></description>
			<content:encoded><![CDATA[<p>To every ruby developer&#8217;s surprise, the built-in Net::HTTP does not support Multipart natively. There are a couple of solutions: write multipart function by yourself, use a third part plugin such as curb or RestClient.</p>
<p>Be aware though. Curb can easily crash your rails if the parameter is not a String. For example, if you have an integer stored in the session, and you pass that to curb directly, then your ruby server will crash. It took me a couple of hours to figure that out&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://zdinfo.com/2009/02/06/http-post-to-a-remote-server-in-ruby/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
