If there is 404 or 403 Error RestWS will not return the format requested and instead the corresponding html drupal site will be shown. That should be fixed, so the format requested by the client, should also be returned in this cases.

Comments

klausi’s picture

Issue tags: +GSoC 2012

Tagging

joachim’s picture

What's interesting (and may help with tracking this bug down) is that this depends on whether the path requested is one Drupal understands outside of RestWS:

eg:

- user/1 -- get an HTML 403 with the Drupal access denied page
- commerce_order/1 -- get a body with just '403 Forbidden' in it.