• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Returning a response of unknown length using WOResponse.setContentStream()
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Returning a response of unknown length using WOResponse.setContentStream()


  • Subject: Re: Returning a response of unknown length using WOResponse.setContentStream()
  • From: Hugi Thordarson <email@hidden>
  • Date: Sun, 31 Mar 2019 13:42:56 +0000


// Hugi Þórðarson
// Strimillinn ehf.
// 895-6688

> On 30 Mar 2019, at 03:56, Paul Hoadley <email@hidden> wrote:
>
> Hi Hugi,
>
> On 30 Mar 2019, at 2:23 am, Hugi Thordarson <email@hidden
> <mailto:email@hidden>> wrote:
>
>> I can't offer any help at all,
>
> I was counting on you!
>
>> besides telling you that I fought the same issue a while back and ended up
>> defeated, writing the Zip file to a temp file and returning that to the
>> client.
>
> That's what I went with in the end, and it works fine, and I know the
> appserver has the resources at the moment. Would have been nice to do this
> the right way though.
>
>> However, if you do choose to pursue this perilous path, the statement
>> "WOHttpIO._alwaysAppendContentLength = false;" might be a tiny bit helpful.
>> But who knows what else *that* might flonk up.
>>
>> If you figure this out, I'd love to hear about it.
>
> Markus Stoll pointed me in the direction of WOHttpIO as well. I will take a
> look at some point. For now the product has shipped with the temp file
> solution, but I will add this to my list of things to look at when time
> permits. (Along with, for example, "Look at framework resources issue", which
> I seem to recall was some Maven-related edge case you and I were talking
> about around 78 years ago. Not even sure what it means any more, but it's on
> that to-do list.)
>
>
> --
> Paul Hoadley
> https://logicsquad.net/ <https://logicsquad.net/>
> https://www.linkedin.com/company/logic-squad/
>

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Returning a response of unknown length using WOResponse.setContentStream() (From: Paul Hoadley <email@hidden>)
 >Re: Returning a response of unknown length using WOResponse.setContentStream() (From: Hugi Thordarson <email@hidden>)
 >Re: Returning a response of unknown length using WOResponse.setContentStream() (From: Paul Hoadley <email@hidden>)

  • Prev by Date: p_objectCountAttribute exception?
  • Next by Date: Re: Returning a response of unknown length using WOResponse.setContentStream()
  • Previous by thread: Re: Returning a response of unknown length using WOResponse.setContentStream()
  • Next by thread: Re: Returning a response of unknown length using WOResponse.setContentStream()
  • Index(es):
    • Date
    • Thread