0
@RequestMapping(value = "/v1/locate/latlng/{lat:.+},{lng:.+}", method = RequestMethod.GET, produces = "application/json;charset=UTF-8")     
public ApiResultModel<LocateModel> getLocate(@PathVariable("lat") Double lat, @PathVariable("lng") Double lng)      

Content-Disposition: attachment;filename=f.txt

Slava Vedenin
  • 58,326
  • 13
  • 40
  • 59
LongJames
  • 11
  • 2

1 Answers1

0

Upgrade is the solution,with Spring Framework 4.2.3

LongJames
  • 11
  • 2
  • 1
    Still Content-Disposition: attachment;filename=f.txt with Spring Framework 4.1.8 (when using Spring IO Platfrom 1.1.4) but definitely Content-Disposition: inline;filename=f.txt when using Spring IO Platform 2.0.0 (with Spring Framework 4.2.3) – LongJames Dec 15 '15 at 02:24