Closed aliostad closed 6 years ago
@aliostad we'll have a look and get back to you.
This has been working throughout including .NET Core 2.0 but it seems to have been broken by .NET Core 2.1 on Mac.
@aliostad Broken how? Are you getting some sort of error?
@aliostad the response.bin trace you provided seems to contain the HTML for a Google search form. We'll need more information along the lines of @danroth27's questions to investigate further.
@danroth27 sorry I thought I put the error message but I have not. OK updated the issue.
@dougbu the point of that file is that the payload is NOT chunked encoding and I have a feeling it might be somehow related.
I have given you repro code, just run it and see.
@aliostad I can't get to this immediately but will test things out within a week.
Any news? It is more than a week.
My apologies @aliostad. Due to other priorities, I'm not exactly sure when I'll get back to this investigation. Will let you know as soon as I've had a chance to look at this.
Any updates, guys? BTW, it doesn't work on Windows either.
Yes, please at least tell us if you can confirm it is a bug at your side?
I should have some time to look at this issue next week.
@aliostad I'm about to reactivate dotnet/corefx#31918 because this appears to be a break between .NET Core 2.0 and 2.1. w.r.t. how they parse date headers. In 2.0, Expires: -1
is treated as valid. In 2.1, the parsers throw a FormatException
on this header. I'll add more information to dotnet/corefx#31918.
Note the issue doesn't seem to have anything to do with whether the response is chunked.
[Originally created here https://github.com/dotnet/corefx/issues/31918 but was closed there]
Hi,
[NOT ENTIRELY SURE IF THIS IS ASP.NET OR COREFX]
I have an HTTP Caching library for .NET and I use
HttpMessageContent
class to help me serialise and deseralise the messages. This has been working throughout including .NET Core 2.0 but it seems to have been broken by .NET Core 2.1 on Mac:Here is the repro code. Works with
netcoreapp2.0
but breaks with netcoreapp2.1.Project file:
Program.cs:
Here is the response I get which is nothing special. The only thing I notice is that there is no
ContentLength
header and encoding is chunked but looking at the message, I could not see a chunked encoding, the response is all in one block - maybe I missed.response.bin