Skip to content

Commit

Permalink
Test for POST per #5
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickebates committed May 15, 2017
1 parent 824aee0 commit e500e4f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ProjectNamiBlobCache/CacheFrontEnd.vb
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ Public Class CacheFrontEnd
End If
End If

'Test for POST
If app.Context.Request.HttpMethod.ToLower.Equals("post") Then
Exit Sub
End If

'Test for Not Cached
If IsNotCached(app.Context.Request.Url.ToString.ToLower) Then
Exit Sub
Expand Down

0 comments on commit e500e4f

Please sign in to comment.