[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: how to set the HTTP request header

On Tue, Dec 05, 2000 at 11:53:32AM -0500, kamesh jayachandran wrote:
> hai all,
> I don't know whether it is related to linux or not.But a general programming 
> doubt.I am writing the client in java which communicates with the web server 
> using HTTP protocol.Actually I am able to read the cookies that the server 
> sends.My java client has to send back the cookie it recieves from the server 
> for each and every transaction by setting the HTTP request header any class or 
> method available in java to accomplish this.I use URLConnection but the 
> getOutputStream sends the data as "Entity body" of the request.Any other way 
> by which i can accomplish the setting of custom headers.