JornWildt/Ramone

Crash when not following a redirect

Closed this issue · 1 comments

Disable redirects for 303:

RestSession.SetAllowedRedirects(303, 0);

Do a POST:

using (var r = request.Post())
{
}

Ramone fails to create a MediaType instance since the response has 0 bytes and no content type header (its a redirect only).

Fixed some time ago.