-
-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NuGet v1.2.7, more graceful handling of unknown HTTP status - thanks @…
- Loading branch information
Showing
78 changed files
with
136 additions
and
110 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd"> | ||
<metadata> | ||
<id>Watson</id> | ||
<version>1.2.7</version> | ||
<title>Watson</title> | ||
<authors>Joel Christner</authors> | ||
<owners>Joel Christner</owners> | ||
<licenseUrl>https://github.com/jchristn/WatsonWebserver/blob/master/LICENSE.txt</licenseUrl> | ||
<projectUrl>https://github.com/jchristn/WatsonWebserver</projectUrl> | ||
<requireLicenseAcceptance>false</requireLicenseAcceptance> | ||
<description>Simple async C# web server for handling REST requests.</description> | ||
<summary>Simple async C# web server for handling REST requests.</summary> | ||
<releaseNotes>More graceful handling of unknown status codes (thank you @mbcrawfo)</releaseNotes> | ||
<copyright>(c) 2017 Marauder Software Inc</copyright> | ||
<tags>web server rest restful http https async</tags> | ||
<dependencies> | ||
<dependency id="Newtonsoft.Json" version="9.0.1" /> | ||
<dependency id="RegexMatcher" version="1.0.0" /> | ||
</dependencies> | ||
</metadata> | ||
<files> | ||
<file src="..\WatsonWebserver\bin\release\Watson.dll" target="lib\Watson.dll" /> | ||
<file src="..\WatsonWebserver\bin\release\Watson.pdb" target="lib\Watson.pdb" /> | ||
</files> | ||
</package> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1362df7198264575e115dd083f63573fa9da7ca7 | ||
559ba943ed73df8737244e5dffbf717b38016cb8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-10 Bytes
(100%)
TestDefault/obj/Debug/TestDefault.csprojResolveAssemblyReference.cache
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
f48a310f656b16d3a296cc9bb9dbeb7fe369127f | ||
b52f1e886109f1b16a52e8b886c2168b91b1c5c3 |
Binary file modified
BIN
+0 Bytes
(100%)
TestDefault/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-10 Bytes
(100%)
TestDefault/obj/Release/TestDefault.csprojResolveAssemblyReference.cache
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
458e733533612d05cb4472b8b974d6c787209141 | ||
5670dcd5fa6af3a335134b7900221e511aa0c31b |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-10 Bytes
(100%)
TestDynamicRoutes/obj/Debug/TestDynamicRoutes.csprojResolveAssemblyReference.cache
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
ccbe5093f002778490735a7839eccb6128a95bb8 | ||
acfaff6adef1186c4715cf6dabfd98e7fe73b384 |
Binary file modified
BIN
+0 Bytes
(100%)
TestDynamicRoutes/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-10 Bytes
(100%)
TestDynamicRoutes/obj/Release/TestDynamicRoutes.csprojResolveAssemblyReference.cache
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
bcb7d66975b8d392b2bb5688e19cd257aa944e5b | ||
d9edb8bc9390cf2a6dc68e4e97c68e55d39028d1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-10 Bytes
(100%)
TestStaticRoutes/obj/Debug/TestStaticRoutes.csprojResolveAssemblyReference.cache
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0903924f8c4fc843c0e4e179358f24d01a74c936 | ||
49a90d947a36932d337ff21b4ee0d79f33bfd4e4 |
Binary file modified
BIN
+0 Bytes
(100%)
TestStaticRoutes/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-10 Bytes
(100%)
TestStaticRoutes/obj/Release/TestStaticRoutes.csprojResolveAssemblyReference.cache
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -501,7 +501,7 @@ private HttpResponse DefaultRouteProcessor(HttpListenerContext context, HttpRequ | |
break; | ||
|
||
default: | ||
Logging.Log("Unknown http status code " + status); | ||
ret.Add("http_text", "Unknown Status"); | ||
break; | ||
} | ||
|
||
|
@@ -880,7 +880,7 @@ private HttpResponse DefaultRouteProcessor(HttpListenerContext context, HttpRequ | |
#endregion | ||
|
||
default: | ||
Logging.Log("Unknown http status code " + status); | ||
ret.Add("http_text", "Unknown Status"); | ||
break; | ||
} | ||
|
||
|
@@ -994,7 +994,7 @@ private HttpResponse DefaultRouteProcessor(HttpListenerContext context, HttpRequ | |
break; | ||
|
||
default: | ||
Logging.Log("Unknown http status code " + status); | ||
response.StatusDescription = "Unknown Status"; | ||
return; | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
jchristn
Author
Collaborator
|
||
} | ||
|
||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
8daafdb2f22800cbbc3f1c1a70e63e50e17f637a | ||
d6a4885a66f271c653c94095c09b6072edb01110 |
Binary file not shown.
Binary file not shown.
Oops, something went wrong.
@jchristn this needs to be changed to a break to completely fix #8 :)