| Summary: | Firefox sometimes shows a pile of recipe JSON instead of the HTML recipe page when re-opening a closed tab | ||
|---|---|---|---|
| Product: | [Retired] Beaker | Reporter: | Dan Callaghan <dcallagh> |
| Component: | web UI | Assignee: | matt jia <mjia> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | tools-bugs <tools-bugs> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | develop | CC: | dcallagh, dowang, mjia, rjoost |
| Target Milestone: | 23.0 | Keywords: | Patch |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-07-07 23:10:37 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Dan Callaghan
2016-04-06 09:23:20 UTC
One thought I had was that we should be setting Vary: Accept since we are doing content negotation for /recipes/123. We should probably just set it globally on all responses (apart from static files anyway) since we expect to do content negotiation in most or all of our new endpoints. Not sure if that will fix this problem though. (In reply to Dan Callaghan from comment #1) > One thought I had was that we should be setting Vary: Accept since we are > doing content negotation for /recipes/123. We should probably just set it > globally on all responses (apart from static files anyway) since we expect > to do content negotiation in most or all of our new endpoints. > > Not sure if that will fix this problem though. Setting Vary:Accept fixes the problem. I have verified it on both Firefox and Google Chrome. http://gerrit.beaker-project.org/#/c/4784/ (In reply to matt jia from comment #2) > (In reply to Dan Callaghan from comment #1) > > One thought I had was that we should be setting Vary: Accept since we are > > doing content negotation for /recipes/123. We should probably just set it > > globally on all responses (apart from static files anyway) since we expect > > to do content negotiation in most or all of our new endpoints. > > > > Not sure if that will fix this problem though. > > Setting Vary:Accept fixes the problem. I have verified it on both Firefox > and Google Chrome. > > http://gerrit.beaker-project.org/#/c/4784/ Repost with correct branch http://gerrit.beaker-project.org/#/c/4789/ Beaker 23.0 has been released. |