Skip to content

Add steps and basic tests for response headers#37

Merged
danielbachhuber merged 5 commits intomasterfrom
test-response-headers
Oct 31, 2016
Merged

Add steps and basic tests for response headers#37
danielbachhuber merged 5 commits intomasterfrom
test-response-headers

Conversation

@danielbachhuber
Copy link
Copy Markdown
Contributor

@danielbachhuber danielbachhuber commented Oct 31, 2016

Comment thread features/pantheon-logged-out.feature Outdated
Scenario: Cache-Control should default to TTL=600
When I go to "/"
Then the response header "Cache-Control" should exist
And the response header "Cache-Control" should contain "max-age=600"
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason to test only max-age and not

And the response header "Cache-Control" should be "public, max-age=600"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not necessarily. I've made it more precise in d4009cc

@danielbachhuber danielbachhuber merged commit 9513d79 into master Oct 31, 2016
@danielbachhuber danielbachhuber deleted the test-response-headers branch October 31, 2016 22:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants