[Web-SIG] [server-side] request/response objects

Randy Pearson randyp at cycla.com
Thu Oct 30 12:02:10 EST 2003


> ... the big 
> difference between the two is that request should be read only while 
> response can have its state altered....

If request is read-only, how would you create unit tests for other
components? A testing harness would need the ability to instantiate and
alter pseudo requests outside of the HTTP server context.

I do agree that, from the response's point-of-view, the request is
immutable.

-- Randy




More information about the Web-SIG mailing list