Login | Register
My pages Projects Community openCollabNet

Discussions > issues > [Issue 46] New - Request header manipulation not possible

Discussion topic

Back to topic list

[Issue 46] New - Request header manipulation not possible

Author hwahlen
Full name Holger Wahlen
Date 2005-11-15 05:16:07 PST
Message http://maxq.tigris.o​rg/issues/show_bug.c​gi?id=46
                 Issue #|46
                 Summary|Request header manipulation not possible
       Status whiteboard|
              Issue type|FEATURE
             Assigned to|issues@maxq
             Reported by|hwahlen

------- Additional comments from hwahlen at tigris dot org Tue Nov 15 05:16:07 -0800 2005 -------
We're trying to test an application that uses content negotiation (see, e.g.,
http://httpd.apache.​org/docs/1.3/content​-negotiation.html) to decide which
language to display; for instance, an HTTP request with the header

  Accept-Language: de

is answered with a page in German. As far as I can tell, though, there is
currently no possibility to set HTTP request headers in a MaxQ script. (The
HttpMethod class that is used by HttpTestCase does provide methods to manipulate
the headers, but the HttpTestCase methods construct new HttpMethod objects for
each request, without any possibility for the user to change these before the
request takes place.)

« Previous message in topic | 1 of 1 | Next message in topic »


Show all messages in topic

[Issue 46] New - Request header manipulation not possible hwahlen Holger Wahlen 2005-11-15 05:16:07 PST
Messages per page: