[
https://issues.apache.org/jira/browse/SYNCOPE-479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14013596#comment-14013596
]
ASF subversion and git services commented on SYNCOPE-479:
---------------------------------------------------------
Commit 1598567 from [~ilgrosso] in branch 'syncope/trunk'
[ https://svn.apache.org/r1598567 ]
[SYNCOPE-479] Now using X-Application-Error-Code and X-Application-Error-Info
header names for error reporting - more REST best practices
> Use X-Application-Error-Code Response header instead of ExceptionType
> ---------------------------------------------------------------------
>
> Key: SYNCOPE-479
> URL: https://issues.apache.org/jira/browse/SYNCOPE-479
> Project: Syncope
> Issue Type: Improvement
> Components: client, core
> Affects Versions: 1.2.0
> Reporter: Oliver Wulff
> Assignee: Francesco Chicchiriccò
> Labels: rest
> Fix For: 1.2.0
>
>
> The REST service return more detailed exception information beyond the HTTP
> error code in the HTTP header 'ExceptionType' and some other HTTP Resonse
> header.
> Due to some other sources in the web, the best practise approach is to use
> the HTTP Response headers:
> X-Application-Error-Code and X-Application-Error-Info
> See discussion here:
> http://mail-archives.apache.org/mod_mbox/syncope-dev/201401.mbox/%3C52E61B5D.6080201%40apache.org%3E
--
This message was sent by Atlassian JIRA
(v6.2#6252)