You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by Michael Becke <be...@u.washington.edu> on 2003/02/19 21:29:28 UTC
[PATCH] SSLProtocolSocketFactory
Attached is a patch that adds an
SSLProtocolSocketFactory(SSLSocketFactory) constructor. This is just a
convenience constructor so someone does not have to re-implement this
class to use a custom SSLSocketFactory.
Mike
Re: [PATCH] SSLProtocolSocketFactory
Posted by Ortwin Glück <or...@nose.ch>.
Cheers. I found the problem with your attachments. Form the Email headers:
Content-Type: multipart/mixed;
boundary="------------030206070302030005070501"
and then:
Content-Type: text/html;
name="SSLProtocolSocketFactory.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="SSLProtocolSocketFactory.patch"
It seems that "the list" does not like HTML posts and tries to get rid
of HTML parts. So there are two things we can do:
1. Mike: tell your Mail application to encode the attachments as
text/plain or application/octet-stream or even base64.
2. Apache Lists: do not strip HTML from "multipart/mixed" content but
only from "mutlipart/alternative"
Odi
Michael Becke wrote:
> It seems that attachments are still being stripped. I have cc'ed you
> Ortwin just is case.
Re: [PATCH] SSLProtocolSocketFactory
Posted by Michael Becke <be...@u.washington.edu>.
It seems that attachments are still being stripped. I have cc'ed you
Ortwin just is case.
Mike
Ortwin Glück wrote:
> I don't see no patch....
>
> Michael Becke wrote:
>
>> Attached is a patch
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> commons-httpclient-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> commons-httpclient-dev-help@jakarta.apache.org
>
Re: [PATCH] SSLProtocolSocketFactory
Posted by Ortwin Glück <or...@nose.ch>.
I don't see no patch....
Michael Becke wrote:
> Attached is a patch
Re: [PATCH] SSLProtocolSocketFactory
Posted by Eric Johnson <ej...@yahoo.com>.
Great!
I also noticed that Sun's HttpsURLConnection class
allows you to specify a HostNameVerifier. I'm not
really sure how this works but it might be worth
thinking about including in httpclient.
Eric
--- Michael Becke <be...@u.washington.edu> wrote:
> Attached is a patch that adds an
> SSLProtocolSocketFactory(SSLSocketFactory)
> constructor. This is just a
> convenience constructor so someone does not have to
> re-implement this
> class to use a custom SSLSocketFactory.
>
> Mike
>
> >
---------------------------------------------------------------------
> To unsubscribe, e-mail:
>
commons-httpclient-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
commons-httpclient-dev-help@jakarta.apache.org
__________________________________________________
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com