Re: creating WORequest multipart form content?
Re: creating WORequest multipart form content?
- Subject: Re: creating WORequest multipart form content?
- From: Paul Lynch <email@hidden>
- Date: Wed, 1 Nov 2006 20:46:41 +0000
I have taken a different approach. In the past, I have had mixed
success with WOHTTPConnection (and the Cocoa equivalents); they are
fine for simple connections, but awkward to use for anything more
complicated - like https.
More recently, I have been very impressed with using Ruby with
Hpricot and Mechanize; I haven't used these with WO, but it would be
interesting to see if JRuby is up to scratch for combining them.
Paul
On 1 Nov 2006, at 16:51, Robert Walker wrote:
Ondra,
I also concur with Mike on this one, but just wanted to point out
that Jakarta HttpClient also has excellent support for SSL
connections, which WOHTTPConnection does not support at all. I
have moved entirely away from WOHTTPConection and build my own
connection support methods based on the Jakarta library, and made
them available in my custom utility framework.
On Nov 1, 2006, at 10:11 AM, Mike Schrag wrote:
I highly recommend looking at the Jakarta HttpClient library at
http://jakarta.apache.org/commons/httpclient/ ... If you're MAKING
http requests, this library is really useful. I use this in a
couple apps that generate multipart requests.
On Nov 1, 2006, at 9:40 AM, Ondra Cada wrote:
Hello,
how can one create a multipart form content of a WORequest (to be
then posted through a WOHTTPConnection as POST)?
I can create and post requests, I can parse multipart form
content in a number of ways (from plain formValues() to
WOMultipartIterator), but there seems not to be any support for
creating it -- or I've overlloked it.
Assumed I have to construct the request content by hand, can
somebody at least point me to a good documentation of the format?
_______________________________________________
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