Skip to content
This repository has been archived by the owner on Jan 15, 2021. It is now read-only.

Commit

Permalink
Merge pull request #806 from ThomasZitzler/master
Browse files Browse the repository at this point in the history
Fix Ajax requests that are using "Bufferless input streams"
  • Loading branch information
nikmd23 committed Jun 13, 2014
2 parents 6c9e1d2 + 1de23ff commit 6dc925a
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion source/Glimpse.AspNet/Model/RequestModel.cs
Expand Up @@ -110,7 +110,15 @@ private IEnumerable<PostedFile> GetPostedFiles(HttpRequestBase httpRequest)
{
if (httpRequest != null)
{
var files = httpRequest.Files;
HttpFileCollectionBase files = null;

try
{
files = httpRequest.Files;
}
catch (HttpException)
{
}

if (files != null)
{
Expand Down

0 comments on commit 6dc925a

Please sign in to comment.