{"id":2318,"date":"2020-01-24T17:32:15","date_gmt":"2020-01-24T17:32:15","guid":{"rendered":"http:\/\/salientsoft.co.uk\/?p=2318"},"modified":"2020-01-24T17:38:21","modified_gmt":"2020-01-24T17:38:21","slug":"spring-boot-no-longer-returns-reason-phrase-in-responses","status":"publish","type":"post","link":"https:\/\/salientsoft.co.uk\/?p=2318","title":{"rendered":"Spring Boot no longer returns HTTP reason phrase in responses"},"content":{"rendered":"<p>I noticed this when a web service returned a blank reason phrase, which tripped up Angular due to an Angular issue which I have documented <strong><a href=\"https:\/\/salientsoft.co.uk\/?p=2315\">here<\/a><\/strong>.<\/p>\n<p>It appears to be a Spring Boot Tomcat version change issue \u2013 a later Tomcat ignores the reason phrase and does not return it, as detailed <strong><a href=\"https:\/\/github.com\/spring-projects\/spring-boot\/issues\/6548\">here<\/a><\/strong>.<\/p>\n<p>As reason phrases are being deprecated anyway, and I don\u2019t use them, I have just ignored the issue, but it is worth being aware of it when debugging.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I noticed this when a web service returned a blank reason phrase, which tripped up Angular due to an Angular issue which I have documented here. It appears to be a Spring Boot Tomcat version change issue \u2013 a later Tomcat ignores the reason phrase and does not return it, as detailed here. As reason [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[7,95,219,64],"tags":[],"_links":{"self":[{"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/2318"}],"collection":[{"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2318"}],"version-history":[{"count":2,"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/2318\/revisions"}],"predecessor-version":[{"id":2320,"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/2318\/revisions\/2320"}],"wp:attachment":[{"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2318"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2318"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2318"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}