[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MirageOS-devel] Cohttp, and the SSL saga update



On 19 Apr 2014, at 20:45, Daniel Bünzli <daniel.buenzli@xxxxxxxxxxxx> wrote:

> 
> 
> Le samedi, 19 avril 2014 à 21:27, Anil Madhavapeddy a écrit :
> 
>> The JSON you're transmitting in each chunk is incremental. Shouldn't every 
>> response chunk be standalone parseable?
> 
> That would violate RFC 4627. The mime type for application/json is clearly a 
> production of JSON-text which is either a JSON object or an array. See e.g. 
> the discussion here:
> 
> https://github.com/dbuenzli/jsonm/pull/1

That makes sense, and Ezjson ignores the trailing comma after each element.

I'm suspicious that `curl -v` doesn't progressively output the chunked encoding 
on the Cohttp request.  Needs more investigation...

-anil
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@xxxxxxxxxxxxxxxxxxxx
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.