mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-05-31 18:13:21 +00:00
aaaand format the code
This commit is contained in:
@@ -104,7 +104,7 @@ namespace Octokit.Tests.Http
|
||||
[InlineData(HttpStatusCode.MovedPermanently)] // 301
|
||||
[InlineData(HttpStatusCode.Found)] // 302
|
||||
[InlineData(HttpStatusCode.TemporaryRedirect)] // 307
|
||||
public async Task Status301ShouldRedirectPOSTWithBody(HttpStatusCode statusCode)
|
||||
public async Task Status301ShouldRedirectPOSTWithBody(HttpStatusCode statusCode)
|
||||
{
|
||||
var redirectResponse = new HttpResponseMessage(statusCode);
|
||||
redirectResponse.Headers.Location = new Uri("http://example.org/bar");
|
||||
|
||||
Reference in New Issue
Block a user