mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-06-19 05:28:15 +08:00
* #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:
@ -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()
|
||||
|
Reference in New Issue
Block a user