* #464 added code to request mapper to not automatically add content type and content length headers, .net will automatically try and add these headers in a few circumstances but this solves the 464 issue

* #464 use seek instead of read on body check for websockets tests

* #464 ran out of inodes on linux, looks like reloadonchange causes this
This commit is contained in:
Tom Pallister
2018-07-20 22:32:40 +01:00
committed by GitHub
parent 12ef3bc00f
commit 23c5fcbf91
19 changed files with 1253 additions and 1034 deletions

View File

@ -95,7 +95,7 @@ namespace Ocelot.UnitTests.Request
_requestMapper
.Setup(rm => rm.Map(It.IsAny<HttpRequest>()))
.ReturnsAsync(_mappedRequest);
.Returns(_mappedRequest);
}
private void GivenTheMapperWillReturnAnError()
@ -104,7 +104,7 @@ namespace Ocelot.UnitTests.Request
_requestMapper
.Setup(rm => rm.Map(It.IsAny<HttpRequest>()))
.ReturnsAsync(_mappedRequest);
.Returns(_mappedRequest);
}
private void WhenTheMiddlewareIsInvoked()