Mercurial > hg > orthanc
diff NEWS @ 1594:2bac60a4f584
OrthancPluginSendHttpStatus
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 27 Aug 2015 12:56:48 +0200 |
parents | 235d89817b89 |
children | e1e54a73ba8b |
line wrap: on
line diff
--- a/NEWS Thu Aug 27 12:32:09 2015 +0200 +++ b/NEWS Thu Aug 27 12:56:48 2015 +0200 @@ -7,6 +7,7 @@ * "limit" and "since" arguments while retrieving DICOM resources in the REST API * Support of "deflate" and "gzip" content-types in HTTP requests * Options to validate peers against CA certificates in HTTPS requests +* New configuration option: "HttpTimeout" to set the default timeout for HTTP requests Lua --- @@ -23,15 +24,15 @@ * New function "OrthancPluginReadFile()" to read files from the filesystem * New function "OrthancPluginWriteFile()" to write files to the filesystem * New function "OrthancPluginGetErrorDescription()" to convert error codes to strings +* New function "OrthancPluginSendHttpStatus()" to send HTTP status with a body * Plugins have access to explicit error codes Maintenance ----------- -* New configuration option: "HttpTimeout" to set the default timeout for HTTP requests -* Improved error codes * Many code refactorings -* If error while calling the REST API, the answer body contains an error description +* Improved error codes (no more custom descriptions in exceptions) +* If error while calling the REST API, the answer body contains description of the error (this feature can be disabled with the "HttpDescribeErrors" option) * Upgrade to curl 7.44.0 for static and Windows builds * Upgrade to libcurl 1.0.2d for static and Windows builds