Skip to content

Commit

Permalink
Merge pull request #10 from reberinformatik/patch-1
Browse files Browse the repository at this point in the history
Don't use date in near future for If-Modified-Since header
  • Loading branch information
hikalkan authored Sep 6, 2017
2 parents 3cc49fc + 884fb69 commit 10c07f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/abpHttp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -274,8 +274,8 @@ export class AbpHttp extends Http {

options.headers.append("Pragma","no-cache");
options.headers.append("Cache-Control","no-cache");
options.headers.append("If-Modified-Since", "Wed, 21 Oct 2020 07:28:00 GMT");

options.headers.append("Expires", "Sat, 01 Jan 2000 00:00:00 GMT");
this.addXRequestedWithHeader(options);
this.addAuthorizationHeaders(options);
this.addAspNetCoreCultureHeader(options);
Expand Down

0 comments on commit 10c07f9

Please sign in to comment.