/*\r
- * Copyright 2001-2006 Internet2\r
+ * Copyright 2001-2007 Internet2\r
* \r
* Licensed under the Apache License, Version 2.0 (the "License");\r
* you may not use this file except in compliance with the License.\r
m_headers[name] = value ? value : "";\r
}\r
\r
- void setContentType(const char* type) {\r
- setResponseHeader("Content-Type", type);\r
- }\r
- \r
- void setCookie(const char* name, const char* value) {\r
- m_headers["Set-Cookie"] = string(name) + "=" + (value ? value : "");\r
- }\r
- \r
// The amount of error checking missing from this is incredible, but as long\r
// as the test data isn't unexpected or malformed, it should work.\r
\r