On Tue, Mar 16, 2010 at 6:58 PM, Carl-Gustaf Harroch <[email protected]>wrote:

> What should the md5 be generated against?


I'm not sure I follow this question. Per the HTTP/1.1 spec, the Content-MD5
is the header used to verify the entity body of a request.


> Have you tried the
> httpClient.addRequestInterceptor?
>

Of course I can calculate the MD5 myself but I was hoping httpclient would
have the feature built-in. Apparently I was wrong.


>
> On 17 March 2010 01:55, Jean-Philippe Steinmetz <[email protected]>
> wrote:
> > Hello everyone,
> >
> > A server i'm communicating with requires the Content-MD5 header to be
> > generated for all PUT/POST requests. I've been digging around in the
> > documentation for quite some time and the only thing I seem to find is
> the
> > ContentMD5Module that is used for checking responses. How can I get
> > generated Content-MD5 headers into all of my requests?
> >
> > Jean-Philippe Steinmetz
> >
>
>
>
> --
> Carl-Gustaf Harroch
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to