Merge lp:~leonardr/launchpad/no-cookie-vary-header into lp:launchpad
Proposed by
Leonard Richardson
Status: | Merged |
---|---|
Approved by: | Aaron Bentley |
Approved revision: | 10618 |
Merge reported by: | Leonard Richardson |
Merged at revision: | not available |
Proposed branch: | lp:~leonardr/launchpad/no-cookie-vary-header |
Merge into: | lp:launchpad |
Diff against target: |
215 lines (+135/-24) (has conflicts) 5 files modified
lib/canonical/launchpad/pagetests/webservice/launchpadlib.txt (+91/-19) lib/canonical/launchpad/pagetests/webservice/xx-service.txt (+22/-0) lib/canonical/launchpad/webapp/servers.py (+20/-2) lib/canonical/launchpad/webapp/tests/test_servers.py (+1/-2) versions.cfg (+1/-1) Text conflict in lib/canonical/launchpad/pagetests/webservice/launchpadlib.txt Contents conflict in lib/lp/bugs/scripts/checkwatches/core.py Path conflict: lib/lp/bugs/scripts/checkwatches/core.py / lib/lp/bugs/scripts/checkwatches/core.py Contents conflict in lib/lp/bugs/scripts/checkwatches/tests/test_core.py Path conflict: lib/lp/bugs/scripts/checkwatches/tests/test_core.py / lib/lp/bugs/scripts/checkwatches/tests/test_core.py Contents conflict in lib/lp/registry/model/projectgroup.py Path conflict: lib/lp/registry/model/projectgroup.py / lib/lp/registry/model/projectgroup.py |
To merge this branch: | bzr merge lp:~leonardr/launchpad/no-cookie-vary-header |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Aaron Bentley (community) | Approve | ||
Gary Poster (community) | Approve | ||
Review via email: mp+22812@code.launchpad.net |
Description of the change
This branch stops Launchpad from including 'Cookie' in its Vary header when serving web service requests. Although not technically incorrect (the Launchpad web service doesn't use cookies at all), it's not necessary to mention this header, and mentioning it triggers an httplib2 bug (http://
To post a comment you must log in.
I think there are supposed to be two blank lines, not one, before a new header, as on line 8 of the patch. Otherwise, good.