Improve the `ResponseParseError` description
In case of a ResponseParseError instead of comparing the versions of
httpd and the web client strictly, we should make sure to check if httpd
fulfills the web clients version requirement (to be the same major
version) and else fallback to a more verbose error about the different
versions.
3 files changed
+10
-17
2075c320
→
544cdca3
modified config/default.json
@@ -1,7 +1,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified http-client/lib/fetcher.ts
@@ -4,7 +4,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -52,26 +52,19 @@ export class ResponseParseError extends Error {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
|
|
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -122,7 +115,7 @@ export class Fetcher {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified module.d.ts
@@ -1,7 +1,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|