Skip to content

Commit 551745c

Browse files
committed
🔥 debug const string
1 parent b9d93a6 commit 551745c

File tree

3 files changed

+1
-25
lines changed

3 files changed

+1
-25
lines changed

‎src/BD.Common8.Bcl/Extensions/MatchExtensions.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public static IEnumerable<string> GetValues(this MatchCollection match, Func<Mat
8080
{
8181
break;
8282
}
83-
list.Add(new(input.Slice(it.Index, it.Length)));
83+
list.Add(new(input.Slice(it.Index, it.Length).Trim()));
8484
}
8585
if (list.Count != 0)
8686
{

‎src/BD.Common8.Http.ClientFactory/Services/Implementation/FusilladeClientHttpClientFactory.cs‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -419,11 +419,6 @@ protected override Task<HttpResponseMessage> SendAsync(HttpRequestMessage reques
419419
newResp.Headers.TryAddWithoutValidation(kvp.Key, kvp.Value);
420420
}
421421

422-
if (request.RequestUri?.ToString() == "https://picsum.photos/360/202?image=883")
423-
{
424-
//TODO
425-
}
426-
427422
{
428423
var newContent = new RecyclableMemoryStreamContent(ms);
429424
foreach (var kvp in resp.Content.Headers)

‎src/BD.Common8.Http.ClientFactory/Services/Implementation/ImageHttpClientServiceImpl.cs‎

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,6 @@ public sealed partial class ImageHttpClientServiceImpl(
2323
{
2424
(string requestUri, int isPollyNum, bool cache, bool cacheFirst, HttpHandlerCategory category) = args;
2525

26-
if (requestUri == "https://picsum.photos/360/202?image=883")
27-
{
28-
//TODO
29-
}
30-
3126
if (!String2.IsHttpUrl(requestUri, httpsOnly: false))
3227
{
3328
if (requestUri.StartsWith(SchemeFile, StringComparison.OrdinalIgnoreCase))
@@ -62,11 +57,6 @@ public sealed partial class ImageHttpClientServiceImpl(
6257
}
6358
}
6459

65-
if (requestUri == "https://picsum.photos/360/202?image=883")
66-
{
67-
//TODO
68-
}
69-
7060
try
7161
{
7262
if (isPollyNum > 0 && category != HttpHandlerCategory.Offline)
@@ -263,10 +253,6 @@ async Task<HttpResponseImageContent> SendAsync(
263253
HttpHandlerCategory category,
264254
CancellationToken cancellationToken = default)
265255
{
266-
if (request.RequestUri?.ToString() == "https://picsum.photos/360/202?image=883")
267-
{
268-
//TODO
269-
}
270256

271257
request.Headers.Accept.ParseAdd(httpPlatformHelper.AcceptImages);
272258
request.Headers.UserAgent.ParseAdd(httpPlatformHelper.UserAgent);
@@ -278,11 +264,6 @@ async Task<HttpResponseImageContent> SendAsync(
278264
cancellationToken)
279265
.ConfigureAwait(false);
280266

281-
if (request.RequestUri?.ToString() == "https://picsum.photos/360/202?image=883")
282-
{
283-
//TODO
284-
}
285-
286267
if (response.IsSuccessStatusCode)
287268
{
288269
if (request.Options.TryGetValue(IImageHttpClientService.KeyFilePath, out var filePath))

0 commit comments

Comments
 (0)