Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

remove old NuGet packages, throw 400 on Argument exceptions

  • Loading branch information...
commit b1c8c2b395c510fb87a8a813e6d7c527fe76229f 1 parent 835018b
@mythz mythz authored
View
BIN  NuGet/ServiceStack.2.2.2.nupkg
Binary file not shown
View
BIN  NuGet/ServiceStack.2.92.nupkg
Binary file not shown
View
BIN  NuGet/ServiceStack.2.93.nupkg
Binary file not shown
View
BIN  NuGet/ServiceStack.2.95.nupkg
Binary file not shown
View
BIN  NuGet/ServiceStack.2.96.nupkg
Binary file not shown
View
BIN  NuGet/ServiceStack.2.98.nupkg
Binary file not shown
View
2  NuGet/ServiceStack/servicestack.nuspec
@@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>ServiceStack</id>
- <version>3.01</version>
+ <version>3.0.0</version>
<authors>Demis Bellot</authors>
<owners>Demis Bellot</owners>
<summary>Opensource .NET and Mono REST Web Services framework</summary>
View
1  build/build.bat
@@ -12,6 +12,7 @@ COPY ..\src\RazorEngine\bin\%BUILD%\*.* ..\..\ServiceStack.Examples\lib
COPY ..\src\ServiceStack.ServiceInterface\bin\%BUILD%\*.* ..\..\ServiceStack.Examples\lib
COPY ..\src\ServiceStack\bin\%BUILD%\*.* ..\..\ServiceStack.Contrib\lib
COPY ..\src\ServiceStack\bin\%BUILD%\*.* ..\..\ServiceStack.RedisWebServices\lib
+COPY ..\src\ServiceStack\bin\%BUILD%\*.* ..\..\chaweet\api\lib
COPY ..\src\ServiceStack\bin\%BUILD%\ServiceStack.Interfaces.dll ..\..\ServiceStack.Redis\lib
COPY ..\src\ServiceStack\bin\%BUILD%\ServiceStack.Text.dll ..\..\ServiceStack.Redis\lib
View
6 src/ServiceStack.ServiceInterface/ServiceBase.cs
@@ -217,9 +217,9 @@ protected virtual object HandleException(TRequest request, Exception ex)
return httpError;
}
- var statusCode = ex is NotImplementedException
- ? HttpStatusCode.MethodNotAllowed
- : HttpStatusCode.InternalServerError;
+ var statusCode = HttpStatusCode.InternalServerError;
+ if (ex is NotImplementedException) statusCode = HttpStatusCode.MethodNotAllowed;
+ else if (ex is ArgumentException) statusCode = HttpStatusCode.BadRequest;
return new HttpResult(responseDto, null, statusCode);
}
View
2  src/ServiceStack/Properties/AssemblyInfo.cs
@@ -33,5 +33,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("3.0.1.*")]
+[assembly: AssemblyVersion("3.0.0.*")]
//[assembly: AssemblyFileVersion("1.0.*")]
Please sign in to comment.
Something went wrong with that request. Please try again.