cors - CorsFilter losing Representation entity -
my works corsfilter when file upload post i'm losing representation entity @ resource level. please i'm stuck. following source (/collections get), (/fileupload post not working). corsfilter corsfilter = new corsfilter(getcontext(), router); corsfilter.setallowedorigins(new hashset(arrays.aslist("*"))); corsfilter.setallowedcredentials(true); corsfilter.setallowingallrequestedheaders(true); corsfilter.setskippingresourceforcorsoptions(true); corsfilter.setnext(collectionsresource.class); router.attach("/collections", corsfilter); corsfilter.setnext(fileuploadresource.class); router.attach("/fileupload", corsfilter); in representation entity in resource debugger saying entity [false/*] . representation null. i think should this: [multipart/form-data; .....] . the following html & ajax call please take look. missing in that? works fine me not post: <html> <head> <scri...