Skip to content

Commit 10c07f9

Browse files
authored
Merge pull request #10 from reberinformatik/patch-1
Don't use date in near future for If-Modified-Since header
2 parents 3cc49fc + 884fb69 commit 10c07f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/abpHttp.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,8 +274,8 @@ export class AbpHttp extends Http {
274274

275275
options.headers.append("Pragma","no-cache");
276276
options.headers.append("Cache-Control","no-cache");
277-
options.headers.append("If-Modified-Since", "Wed, 21 Oct 2020 07:28:00 GMT");
278-
277+
options.headers.append("Expires", "Sat, 01 Jan 2000 00:00:00 GMT");
278+
279279
this.addXRequestedWithHeader(options);
280280
this.addAuthorizationHeaders(options);
281281
this.addAspNetCoreCultureHeader(options);

0 commit comments

Comments
 (0)