You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by Roland Weber <ht...@dubioso.net> on 2006/12/16 21:21:00 UTC

Wiki: Application Design FAQ

Hi folks,

I felt like writing some documentation, so I created an
Application Design FAQ in the Wiki. For now, it addresses
only one question: how to upload files and parameters.
I'd appreciate some review on this. Since I haven't had
to code all these options myself with HttpClient, there
might be some inaccuracies.

cheers,
  Roland

---------------------------------------------------------------------
To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org


Re: Wiki: Application Design FAQ

Posted by Roland Weber <ht...@dubioso.net>.
Hi all,

the FAQ now addresses a second topic:
client authentication techniques

cheers,
  Roland

---------------------------------------------------------------------
To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org


Re: Wiki: Application Design FAQ

Posted by Roland Weber <ht...@dubioso.net>.
Hi Oleg,

> I was not able to spot any accuracies. Many thanks for this
> contribution. It is really great. 

Thanks.

> At some point of time we should start moving all these documents to the
> main site. 

Let's do that when we can point to HttpComponents classes/functionality
as well as HttpClient classes/functionality.

cheers,
  Roland


---------------------------------------------------------------------
To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org


Re: Wiki: Application Design FAQ

Posted by Oleg Kalnichevski <ol...@apache.org>.
On Tue, 2006-12-19 at 10:17 +0100, Ortwin Glück wrote:
> 
> Oleg Kalnichevski wrote:
> > Roland,
> > 
> > I was not able to spot any accuracies. 
> 
> I hope you mean *in*accuracies :-)
> 

OMFG! Time to retire?

Oleg


> Well, I fixed some in the query string paragraph.
> Thanks for this, Roland!
> 
> Odi


---------------------------------------------------------------------
To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org


Re: Wiki: Application Design FAQ

Posted by Roland Weber <ht...@dubioso.net>.
Hi Julius,

> I just wanted to mention I think the FAQ is gorgeous.

Eh... thank you... I think. "gorgeous" is not
a word I would have expected in this context :-)

> I'm thinking of adding a section on GZIP (request and/or response, but
> yeah,
> especially response) since that also seems to come up now and again.

That's a great idea! And we even have code in HttpCore to point to:
http://svn.apache.org/repos/asf/jakarta/httpcomponents/httpcore/trunk/src/contrib/org/apache/http/contrib/compress


cheers,
  Roland

---------------------------------------------------------------------
To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org


Re: Wiki: Application Design FAQ

Posted by Oleg Kalnichevski <ol...@apache.org>.
On Tue, 2006-12-19 at 13:07 -0500, Julius Davies wrote:
> Hi,
> 
> Regarding:
> http://wiki.apache.org/jakarta-httpclient/FrequentlyAskedApplicationDesignQuestions
> 
> I just wanted to mention I think the FAQ is gorgeous.
> 
> I'm thinking of adding a section on GZIP (request and/or response, but yeah,
> especially response) since that also seems to come up now and again.
> 

Julius,

If you decide to contribute such a section please consider basing it on
HttpCore API, which, unlike HttpClient 3.x, is capable of handling
content transformation completely transparently to the application level
components by using request / response interceptors. 

These sample classes demonstrate how GZIP compression / decompression
can be implemented using HttpCore API. The beauty of it is in being able
to introduce new processing logic just by adding a couple of
interceptors without having to modify a single line of application level
code. One may not even need to recompile the application if using an IoC
framework to manage protocol interceptors:

http://svn.apache.org/repos/asf/jakarta/httpcomponents/httpcore/trunk/src/contrib/org/apache/http/contrib/compress/

Cheers

Oleg


---------------------------------------------------------------------
To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org


Re: Wiki: Application Design FAQ

Posted by Michael Becke <mb...@gmail.com>.
Agreed.  This is well written and should help a great number of newer
HTTP users.

Mike

On 12/19/06, Julius Davies <ju...@gmail.com> wrote:
> Hi,
>
> Regarding:
> http://wiki.apache.org/jakarta-httpclient/FrequentlyAskedApplicationDesignQuestions
>
> I just wanted to mention I think the FAQ is gorgeous.
>
> I'm thinking of adding a section on GZIP (request and/or response, but yeah,
> especially response) since that also seems to come up now and again.
>
> --
> yours,
>
> Julius Davies
> 416-652-0183
> http://juliusdavies.ca/
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org


Re: Wiki: Application Design FAQ

Posted by Julius Davies <ju...@gmail.com>.
Hi,

Regarding:
http://wiki.apache.org/jakarta-httpclient/FrequentlyAskedApplicationDesignQuestions

I just wanted to mention I think the FAQ is gorgeous.

I'm thinking of adding a section on GZIP (request and/or response, but yeah,
especially response) since that also seems to come up now and again.

-- 
yours,

Julius Davies
416-652-0183
http://juliusdavies.ca/

Re: Wiki: Application Design FAQ

Posted by Ortwin Glück <od...@odi.ch>.

Roland Weber wrote:
> Hi Odi,
 >
> I expected that to be one of the weaker spots.
> Using EBCDIC in query strings - oh my goodness!

*g* yeah, it's a bit esoteric maybe, but on z/OS EBCDIC is the default 
platform encoding. I remember when we had to learn this painfully in the 
early days of HttpClient. Since that time the code has been safe 
regarding to encoding ;-)

Odi

-- 
[web]  http://www.odi.ch/
[blog] http://www.odi.ch/weblog/
[pgp]  key 0x81CF3416
        finger print F2B1 B21F F056 D53E 5D79 A5AF 02BE 70F5 81CF 3416

---------------------------------------------------------------------
To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org


Re: Wiki: Application Design FAQ

Posted by Roland Weber <ht...@dubioso.net>.
Hi Odi,

>> I was not able to spot any accuracies. 
> 
> I hope you mean *in*accuracies :-)

No need to retire, Oleg. I got the meaning :-)


> Well, I fixed some in the query string paragraph.

I expected that to be one of the weaker spots.
Using EBCDIC in query strings - oh my goodness!

> Thanks for this, Roland!
Thanks for your additions, too!

cheers,
  Roland

---------------------------------------------------------------------
To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org


Re: Wiki: Application Design FAQ

Posted by Ortwin Glück <od...@odi.ch>.

Oleg Kalnichevski wrote:
> Roland,
> 
> I was not able to spot any accuracies. 

I hope you mean *in*accuracies :-)

Well, I fixed some in the query string paragraph.
Thanks for this, Roland!

Odi
-- 
[web]  http://www.odi.ch/
[blog] http://www.odi.ch/weblog/
[pgp]  key 0x81CF3416
        finger print F2B1 B21F F056 D53E 5D79 A5AF 02BE 70F5 81CF 3416

---------------------------------------------------------------------
To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org


Re: Wiki: Application Design FAQ

Posted by Oleg Kalnichevski <ol...@apache.org>.
On Sat, 2006-12-16 at 21:21 +0100, Roland Weber wrote:
> Hi folks,
> 
> I felt like writing some documentation, so I created an
> Application Design FAQ in the Wiki. For now, it addresses
> only one question: how to upload files and parameters.
> I'd appreciate some review on this. Since I haven't had
> to code all these options myself with HttpClient, there
> might be some inaccuracies.
> 
> cheers,
>   Roland
> 

Roland,

I was not able to spot any accuracies. Many thanks for this
contribution. It is really great. 

At some point of time we should start moving all these documents to the
main site. 

Oleg

> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org