This works for me...
context().request().clone();
You might want to be SLIGHTLY careful here if you plan on changing headers and possibly userInfo in your cloned request, since it's possible that you end up with two requests that share an instance of those attributes from a clone. I'm not positive about this, but i seem to recall that .clone()ing the request won't deep clone the attributes of the request.
That said, this basic approach is definitely better than just making a blank request, because a blank request will lose a bunch of data like the virtual host address, etc, which would be required to produce urls back to the right server.

ms

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to