瀏覽代碼

Adding the xsiType=xnat:resource query parameter leads to
error 422: Unprocessable entity

This can be reproduced with curl.
omitting this query parameter solve the issue

Andreas Fetzer 9 年之前
父節點
當前提交
43d7beeb41
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      Libs/XNAT/Core/ctkXnatResource.cpp

+ 0 - 1
Libs/XNAT/Core/ctkXnatResource.cpp

@@ -173,7 +173,6 @@ void ctkXnatResource::downloadImpl(const QString& filename)
 void ctkXnatResource::saveImpl(bool /*overwrite*/)
 {
   ctkXnatSession::UrlParameters urlParams;
-  urlParams["xsiType"] = this->schemaType();
 
   const QMap<QString, QString>& properties = this->properties();
   QMapIterator<QString, QString> itProperties(properties);