Project

General

Profile

Actions

Bug #2077

closed

Status code 422 removes body

Added by sirlantis over 14 years ago. Updated over 14 years ago.

Status:
Duplicate
Priority:
Normal
Category:
core
Target version:
-
ASK QUESTIONS IN Forums:

Description

Ruby on Rails uses 422 to denote (validation-)errors when saving a model and the documention suggests to send an XML document (if an XML document was requested) containing the errors.

<errors>
  <error>I got error'd!</error>
</errors>

The ruby gem ActiveResource relies on this behaviour. This body is removed by LightTPD as it is flagged with 422 and connections.c does not contain a case for 422.


Related issues 1 (0 open1 closed)

Is duplicate of Bug #1639: Let HTTP 410 have a bodyFixedActions
Actions #1

Updated by stbuehler over 14 years ago

  • Status changed from New to Duplicate
  • Target version deleted (1.4.24)

Old, already fixed.

Actions #2

Updated by sirlantis over 14 years ago

Stupid me - sorry for the dup.

Actions

Also available in: Atom