summaryrefslogtreecommitdiff
path: root/indra/llcorehttp/httpoptions.cpp
diff options
context:
space:
mode:
authorMonty Brandenberg <monty@lindenlab.com>2012-07-13 18:24:49 -0400
committerMonty Brandenberg <monty@lindenlab.com>2012-07-13 18:24:49 -0400
commit5eb5dc6b27c57f1c3e77fc04b471614968620068 (patch)
tree2245f56aaa5ecd15951dd30f0439566ca7653c82 /indra/llcorehttp/httpoptions.cpp
parentd45b2e7caece787dce4be501b103432c0f06c0f2 (diff)
SH-3241 validate that request headers are correct
First round of integration tests. Added a request header 'reflector' to the web server to sent the client's headers back with a 'X-Reflect-' prefix. Use boost::regex to check various headers. Run a test on a simple GET and a byte-ranged GET a la texture fetch.
Diffstat (limited to 'indra/llcorehttp/httpoptions.cpp')
-rw-r--r--indra/llcorehttp/httpoptions.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llcorehttp/httpoptions.cpp b/indra/llcorehttp/httpoptions.cpp
index f2771c1f29..68f7277ed3 100644
--- a/indra/llcorehttp/httpoptions.cpp
+++ b/indra/llcorehttp/httpoptions.cpp
@@ -46,9 +46,9 @@ HttpOptions::~HttpOptions()
{}
-void HttpOptions::setWantHeaders()
+void HttpOptions::setWantHeaders(bool wanted)
{
- mWantHeaders = true;
+ mWantHeaders = wanted;
}