Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Avoid empty "If-Modified-Since" header in validation request#34385

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
stof merged 1 commit intosymfony:3.4frommpdude:patch-3
Nov 23, 2019

Conversation

@mpdude
Copy link
Contributor

QA
Branch?3.4
Bug fix?yes
New feature?no
Deprecations?no
Tickets
LicenseMIT
Doc PR

Just noticed that when a response has been cached that ispublic and has anmaxAge but doesnot provideLast-Modified, the validation subrequest will have an emptyIf-Modified-Since header value.

@stof
Copy link
Member

Can you add a test covering this ?

@mpdude
Copy link
ContributorAuthor

@stof You agree it makes sense to put this into the existing test method?

(Yes, that test now fails if I revert the initial change.)

@stof
Copy link
Member

Thank you@mpdude.

stof added a commit that referenced this pull requestNov 23, 2019
…st (mpdude)This PR was squashed before being merged into the 3.4 branch (closes#34385).Discussion----------Avoid empty "If-Modified-Since" header in validation request| Q             | A| ------------- | ---| Branch?       | 3.4| Bug fix?      | yes| New feature?  | no| Deprecations? | no| Tickets       || License       | MIT| Doc PR        |Just noticed that when a response has been cached that is `public` and has an `maxAge` but does _not_ provide `Last-Modified`, the validation subrequest will have an empty `If-Modified-Since` header value.Commits-------960faef Avoid empty \"If-Modified-Since\" header in validation request
@stofstof merged commit960faef intosymfony:3.4Nov 23, 2019
@mpdudempdude deleted the patch-3 branchNovember 23, 2019 19:31
This was referencedDec 1, 2019
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@nicolas-grekasnicolas-grekasnicolas-grekas approved these changes

@stofstofstof approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

3.4

Development

Successfully merging this pull request may close these issues.

4 participants

@mpdude@stof@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp