anmolbabu has uploaded a new change for review.

Change subject: engine : Facilitate accept-type specification by file extension
......................................................................

engine : Facilitate accept-type specification by file extension

Facilitate accept-type specification by file extension

Change-Id: I86c63405e6d8b28c483079782d5f52b75410a5ae
Signed-off-by: Anmol Babu <[email protected]>
---
M backend/manager/modules/restapi/webapp/src/main/webapp/WEB-INF/web.xml
1 file changed, 5 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/31/30031/1

diff --git 
a/backend/manager/modules/restapi/webapp/src/main/webapp/WEB-INF/web.xml 
b/backend/manager/modules/restapi/webapp/src/main/webapp/WEB-INF/web.xml
index 8ed8ff6..803fa0f 100644
--- a/backend/manager/modules/restapi/webapp/src/main/webapp/WEB-INF/web.xml
+++ b/backend/manager/modules/restapi/webapp/src/main/webapp/WEB-INF/web.xml
@@ -40,6 +40,11 @@
     <url-pattern>/*</url-pattern>
   </filter-mapping>
 
+  <context-param>
+    <param-name>resteasy.media.type.mappings</param-name>
+    <param-value>json: application/json, xml: application/xml, pdf: 
application/pdf</param-value>
+  </context-param>
+
   <filter>
     <filter-name>SessionValidationFilter</filter-name>
     
<filter-class>org.ovirt.engine.core.aaa.filters.SessionValidationFilter</filter-class>


-- 
To view, visit http://gerrit.ovirt.org/30031
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I86c63405e6d8b28c483079782d5f52b75410a5ae
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: anmolbabu <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to