<oembed><type>rich</type><version>1.0</version><author_name>npub18yq2ukhtlnkuzzykluyjvxap3vtvdqf0arvtag6rx02klk6gymgqp3txp2</author_name><author_url>https://nostr.ae/npub18yq2ukhtlnkuzzykluyjvxap3vtvdqf0arvtag6rx02klk6gymgqp3txp2</author_url><provider_name>njump</provider_name><provider_url>https://nostr.ae</provider_url><html>📅 Original date posted:2011-12-19&#xA;🗒️ Summary of this message: HTTP multipart response is not simple to parse and lacks library support. JSON is widely adopted, human-readable, and has parsing libraries available for every major language. Using HTTP for data interchange will make things difficult for developers.&#xA;📝 Original message:With all due respect, I continue to disagree on the topic of using HTTP &#xA;for data interchange.&#xA;&#xA;Yes, an HTTP multipart response will accomplish the need for multiple &#xA;named resources. The problem is that parsing of a multipart response &#xA;isn&#39;t simple, and library support is weak across many languages. The &#xA;widely adopted cURL library does not support multipart response parsing &#xA;at all.&#xA;&#xA;JSON is widely adopted, human readable, and has parsing libraries &#xA;available for every major language. There is a bit of additional bloat, &#xA;but I believe it is warranted in this case because of the convenience &#xA;and ease it brings to developers.&#xA;&#xA;If the idea is to &#34;KISS&#34;, and provide a method that is both quick and &#xA;easy to implement for the average developer, then JSON is a stand out &#xA;option. Using HTTP for the data interchange will make things difficult &#xA;for a lot of developers if multipart responses are used. JSON will be &#xA;greeted with open arms.&#xA;&#xA;&#xA;&#xA;On 12/19/2011 9:09 AM, slush wrote:&#xA;&gt; I agree with Luke that HTTP standard has everything necessary and&#xA;&gt; bloating payload with json/xml is not necessary.&#xA;&gt;&#xA;&gt; Btw that argument &#34;we have json in client already&#34; seems pretty wrong,&#xA;&gt; because json in server rpc solves another problem (and solve it in wrong&#xA;&gt; way, because of data type issues, but it&#39;s another story).</html></oembed>