Creating *.pdb files when building Greenshot, which we will package in a .ZIP so we can supply them when needed.

This commit is contained in:
RKrom 2014-11-29 22:03:24 +01:00
commit 6bf1ebf4f4
3 changed files with 60 additions and 16 deletions

View file

@ -363,9 +363,8 @@ namespace GreenshotPlugin.Core {
/// <param name="uri">Uri</param>
/// <returns>DateTime</returns>
public static DateTime GetLastModified(Uri uri) {
HttpWebRequest webRequest;
try {
webRequest = (HttpWebRequest)CreateWebRequest(uri);
HttpWebRequest webRequest = CreateWebRequest(uri);
webRequest.Method = "HEAD";
HttpWebResponse webResponse = (HttpWebResponse)webRequest.GetResponse();
LOG.DebugFormat("RSS feed was updated at {0}", webResponse.LastModified);