Using:
SmartGWT 2.4 LGPL
GWT 2.2
Google Chrome
Problem:
I need to include a http header in my requests.
I'm using XJSONDataSource, and in transformRequest method I'm including the following code:
Map<String, String> headers = new LinkedHashMap<String, String>();
headers.put("test", "something");
dsRequest.setHttpHeaders(headers);
dsRequest.setTransport(RPCTransport.XMLHTTPREQUEST);
return super.transformRequest(dsRequest);
When I see the received request, the header is not included. Am I doing something wrong?
Thanks,
agalvao
SmartGWT 2.4 LGPL
GWT 2.2
Google Chrome
Problem:
I need to include a http header in my requests.
I'm using XJSONDataSource, and in transformRequest method I'm including the following code:
Map<String, String> headers = new LinkedHashMap<String, String>();
headers.put("test", "something");
dsRequest.setHttpHeaders(headers);
dsRequest.setTransport(RPCTransport.XMLHTTPREQUEST);
return super.transformRequest(dsRequest);
When I see the received request, the header is not included. Am I doing something wrong?
Thanks,
agalvao
Comment