Rogan Dawes wrote:
>> We are arguing about the elegance/irregularity of the possibility to
>> send *gigs and gigs of data
>> *during many days
>> *over a single https response.
>> *[with tomcat5 & java 1.4.2]
>>
>> Assuming the client can handle it and that the tcp/ssl layer are
>> reliable and won't disconnect, would you say it is:
>>
>> question 1
>> a-against the http spec (what section______)
>> b-supported/covered by http spec (chunked encoding)
>
>
> I'd say it would be supported using chunked encoding.
I agree. The spec does not place any limit that I know of on the total
size of a message delivered via the chunked transfer coding. It says
little or nothing about the permissible time to deliver a complete response.
>
>> c-other________
>>
>> question 2:
>> a-risky (reason:_______)
>
>
> What happens if there IS a disconnect for some reason? Can you resume
> operations where you left off?
Spot on. A service interruption probably means that you're hosed,
because as far as I can tell, there is no way to resume an HTTP transfer
in the middle. You could build a resumable protocol on top of HTTP, but
then you wouldn't be delivering the whole logical response in a single
HTTP response.
>> b-unusual (reason:_______)
>
>
> Not unusual, per se. Internet routers, for example, create long-lived
> TCP connections to exchange routing information. The volume may be
> greater, but that's no matter.
I disagree. Routers may establish long-lived connections amongst
themselves, but that's not the same thing as a continuous data stream
over a comparable period. At least it doesn't seem that way to me. The
proposed behavior is in any case assuredly unusual in the HTTP space.
--
John Bollinger