Return response if page not found on Amazon.com.
MODIFY
XRayBuilder.Core/src/Libraries/Http/HttpClient.cs
XRayBuilder.Core/src/Libraries/Http/HttpClient.cs
@@ -246,7 +246,9 @@ protected override async Task<HttpResponseMessage> SendAsync(HttpRequestMessage
};
request.RequestUri = builder.Uri;
var response = await base.SendAsync(request, cancellationToken);
- Logger?.Log($"Not available from {originalHost}, but found on Amazon US ({request.RequestUri})");
+ if (response.StatusCode == HttpStatusCode.NotFound)
+ return response;
+ Logger?.Log($"Not available from {originalHost}, but found on Amazon.com ({request.RequestUri})");
return response;
}
}

Return response if page not found on Amazon.com.