Chris Ross
Chris Ross
Note the repro uses a JSON request body with ANSII (?) encoding. I don't know what the default encoding is for HttpRequestStreamReader, but it's likely UTF-8. A 500 means there...
@javiercn, Map isn't case sensitive. https://github.com/dotnet/aspnetcore/blob/d5629a0534ced8534226e321bfefff475160963e/src/Http/Http.Abstractions/src/Extensions/MapExtensions.cs#L35 https://github.com/dotnet/aspnetcore/blob/d5629a0534ced8534226e321bfefff475160963e/src/Http/Http.Abstractions/src/Extensions/MapMiddleware.cs#L54 https://github.com/dotnet/aspnetcore/blob/d5629a0534ced8534226e321bfefff475160963e/src/Http/Http.Abstractions/src/PathString.cs#L280-L282 The error reported above is coming from somewhere else. `blazor.webassembly.js:1 WASM: System.ArgumentException: The URI 'http://ringdev.com/iosian4' is not contained by the base URI...
```c# map.MapWhen(c => c.Request.Path.StartsWithSegments("firstapp", StringComparison.OrdinalIgnoreCase), child => child.UseServerSideBlazor(....); ``` If this works then it's not because of the casing. The biggest difference between Map and MapWhen is that Map trims...
Microsoft.AspNetCore.Server.Kestrel.Core.BadHttpRequestException: Unexpected end of request content.
The exception needs to be thrown from the request body APIs so you don't think the request finished gracefully, but the caller should catch it. In this case that's MVC,...
Microsoft.AspNetCore.Server.Kestrel.Core.BadHttpRequestException: Unexpected end of request content.
Yes
> Automatically configuring only an https endpoint This requires a certificate. Would it use the dev cert? That's only valid for localhost. Would it bind to a public or loopback...
Yes, katana was using a character in the first line that wasn't supposed to be used in cookies. `:` I think.
There's a new CookieChunkingManager in the interop package you can plug into Katana handle this. https://github.com/aspnet/Security/blob/dev/src/Microsoft.Owin.Security.Interop/ChunkingCookieManager.cs
Connection: Keep-alive is for HTTP/1.0. In HTTP/1.1 Keep-Alive is the default (does not need to be sent), but instead the client/server sends Connection: Close if they do not want keep-alive.
@adityamandaleeka and @mkArtakMSFT should be assigning reviewers now.