# Accept header vs error body (profile: advice, jackson-dataformat-xml on the classpath)
## A successful response, for comparison
$ curl -H "Accept: application/xml" /orders/1
HTTP/1.1 200
Content-Type: application/xml;charset=UTF-8
1SKU-12
## Accept: application/json
$ curl -H "Accept: application/json" /orders/999
HTTP/1.1 404
Content-Type: application/problem+json
{"detail":"Order 999 does not exist","instance":"/orders/999","status":404,"title":"Order not found","type":"https://ankurm.com/problems/order-not-found","orderId":999}
## Accept: application/xml
$ curl -H "Accept: application/xml" /orders/999
HTTP/1.1 404
Content-Type: application/problem+json
{"detail":"Order 999 does not exist","instance":"/orders/999","status":404,"title":"Order not found","type":"https://ankurm.com/problems/order-not-found","orderId":999}
## Accept: application/problem+xml
$ curl -H "Accept: application/problem+xml" /orders/999
HTTP/1.1 404
Content-Type: application/problem+xml
Order 999 does not exist/orders/999404Order not foundhttps://ankurm.com/problems/order-not-found999
## Accept: text/html
$ curl -H "Accept: text/html" /orders/999
HTTP/1.1 404
Content-Type: application/problem+json
{"detail":"Order 999 does not exist","instance":"/orders/999","status":404,"title":"Order not found","type":"https://ankurm.com/problems/order-not-found","orderId":999}
## Accept: image/png
$ curl -H "Accept: image/png" /orders/999
HTTP/1.1 404
Content-Type: application/problem+json
{"detail":"Order 999 does not exist","instance":"/orders/999","status":404,"title":"Order not found","type":"https://ankurm.com/problems/order-not-found","orderId":999}
## Accept: */*
$ curl -H "Accept: */*" /orders/999
HTTP/1.1 404
Content-Type: application/problem+json
{"detail":"Order 999 does not exist","instance":"/orders/999","status":404,"title":"Order not found","type":"https://ankurm.com/problems/order-not-found","orderId":999}