-
Check if object is already a ResponseEntity, if so return instead of … (#1343) · 1511167frockinrimmer authored
* Check if object is already a ResponseEntity, if so return instead of wrapping in another ResponseEnitiy. Which caused headers and status code from original ResponseEnitiy to be lost and for body to be output with whole ResponseEntity instead of just the body * added test