summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/modules/binding-rest-runtime/src/test/resources
diff options
context:
space:
mode:
authorlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2010-05-07 23:48:28 +0000
committerlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2010-05-07 23:48:28 +0000
commit36e4e5cbb71849b33da69924169f94e3a5161b19 (patch)
tree56ccc951915bade478fc6c86aafd4a88ef66eb0b /sca-java-2.x/trunk/modules/binding-rest-runtime/src/test/resources
parentb897076af57a1a61679d80375ea80d1eea767217 (diff)
Adding support for declarative http headers in binding.rest
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@942274 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/binding-rest-runtime/src/test/resources')
-rw-r--r--sca-java-2.x/trunk/modules/binding-rest-runtime/src/test/resources/customer.composite4
1 files changed, 4 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/modules/binding-rest-runtime/src/test/resources/customer.composite b/sca-java-2.x/trunk/modules/binding-rest-runtime/src/test/resources/customer.composite
index eb3f361571..c100e264a7 100644
--- a/sca-java-2.x/trunk/modules/binding-rest-runtime/src/test/resources/customer.composite
+++ b/sca-java-2.x/trunk/modules/binding-rest-runtime/src/test/resources/customer.composite
@@ -28,6 +28,10 @@
<tuscany:binding.rest uri="http://localhost:8085/Customer">
<tuscany:wireFormat.xml />
<tuscany:operationSelector.jaxrs />
+ <tuscany:http-headers>
+ <tuscany:header name="Cache-Control" value="no-cache"/>
+ <tuscany:header name="Expires" value="-1"/>
+ </tuscany:http-headers>
</tuscany:binding.rest>
</service>
</component>