Hi, Was playing around with deltacloud + the experimental java api client and noticed that even though I'm setting up AcceptResponse for XML then when I'm hitting a bad url i'm getting a HTML document back.
My specific case is requesting: http://localhost:3001/api/flavors and getting back: <!DOCTYPE html> <html> <head> <style type="text/css"> body { text-align:center;font-family:helvetica,arial;font-size:22px; color:#888;margin:20px} #c {margin:0 auto;width:500px;text-align:left} </style> </head> <body> <h2>Sinatra doesn't know this ditty.</h2> <img src='/__sinatra__/404.png'> <div id="c"> Try this: <pre>get '/api/flavors' do "Hello World" end</pre> </div> </body> </html> shouldn't this be XML or is it expected clients simply don't even attempt parse this in case of http 404 ? /max
