Re: WOMultipartFileIterator and 'wis' StreamActionRequestHandler
Re: WOMultipartFileIterator and 'wis' StreamActionRequestHandler
- Subject: Re: WOMultipartFileIterator and 'wis' StreamActionRequestHandler
- From: Hsu <email@hidden>
- Date: Thu, 7 Aug 2003 02:26:52 -0700
Did I just answer my own question? You need to use the 'wis' handler
only when you want to get the entire HTTP request as an InputStream,
rather than using the WOMultipartFileIterator to get just the uploaded
file content as an InputStream?
This is correct.
So my actual questions are: What is the 'wis' handler for, exactly?
When do I need to use it? If I only need to use it when I want to get
the entire HTTP Request as a stream (but NOT when I only want to get
the uploaded file content as an InputStream).... why would I ever want
to do this? What's the point?
Handling a multipart/form-data request has some overhead - in
particular, it requires:
1. The client be able to choose a delimiter string that is completely
unique within the content (no mean feat if you're talking a gig or so
of data).
2. The client be able to properly format a multipart/form-data request.
3. The server parse the incoming request byte by byte looking for the
delimiter string.
Karl
--
pthbbbbbbbbbbbt.
Homepage:
http://homepage.mac.com/khsu/index.html
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.