alavrik/piqi — Issue #12: [req] Piqi-RPC errors with HTTP 200 instead of 500 
Author: thijsterlouw
Created: 2012-01-30 11:56:45+00:00
State: open

This is simply a note to keep track of a request done via Google Groups Piqi: http://groups.google.com/group/piqi/browse_thread/thread/b43dbd62d19fb27f

Piqi-RPC should recognize "X-Piqi-RPC-return-http-status-via-header" request header. When it it is present and the value is set to "true", Piqi-RPC should return HTTP 200 and include "X-Piqi-RPC-http-status" header to the response header with the actual HTTP code. This is only done for errors that are defined in the interface, not for other internal errors or 4xx errors.