Submitted by ruddy32 on Wed, 05/13/2009 - 01:02

I need to forward a request to another HTTP server. I need to create a new request from an
existing one. There is no copy constructor or copy operator for HTTPRequest. Which attributes needs to be copied from HTTPRequest and HTTPMessage?
I need to forward the response to the original client. Is the current HTTPResponse copy constructor is enought for such process?
Tags:

We didn't realize that assignment/copy construction was not working since we are not using it anywhere. I added a ticket for this:
http://trac.atomiclabs.com/ticket/590
A patch that fixes the problem and adds unit tests is attached to the ticket. It has been checked into trunk (for 2.1.x release) and should work for 2.0.x as well.
- Login or register to post comments
Submitted by Mike Dickey on Tue, 05/26/2009 - 14:10.