PR #299 Cleanup
This commit is contained in:
parent
d6c8dae3f0
commit
412d125c95
|
|
@ -32,7 +32,7 @@ namespace Microsoft.AspNetCore.Builder
|
||||||
private string BuildResponseBody(int httpStatusCode)
|
private string BuildResponseBody(int httpStatusCode)
|
||||||
{
|
{
|
||||||
// Note the 500 spaces are to work around an IE 'feature'
|
// Note the 500 spaces are to work around an IE 'feature'
|
||||||
string internetExplorerWorkaround = new string(' ', 500);
|
var internetExplorerWorkaround = new string(' ', 500);
|
||||||
|
|
||||||
var reasonPhrase = ReasonPhrases.GetReasonPhrase(httpStatusCode);
|
var reasonPhrase = ReasonPhrases.GetReasonPhrase(httpStatusCode);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,10 @@
|
||||||
// Copyright (c) .NET Foundation. All rights reserved.
|
// Copyright (c) .NET Foundation. All rights reserved.
|
||||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||||
|
|
||||||
using Microsoft.AspNetCore.WebUtilities;
|
|
||||||
using System.Net;
|
using System.Net;
|
||||||
using System.Net.Http;
|
using System.Net.Http;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
using Microsoft.AspNetCore.WebUtilities;
|
||||||
using Xunit;
|
using Xunit;
|
||||||
|
|
||||||
namespace Microsoft.AspNetCore.Diagnostics.FunctionalTests
|
namespace Microsoft.AspNetCore.Diagnostics.FunctionalTests
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue