P3P header

46 views
Skip to first unread message

Joshua

unread,
Oct 7, 2010, 8:18:12 PM10/7/10
to Google App Engine
We would like to set up P3P compact policy on our GAE site. Does
anyone know how to configure the Header for this?

Jason C

unread,
Oct 8, 2010, 12:53:02 PM10/8/10
to Google App Engine
I think it's as simple as setting the header on the response, e.g.:

self.response.headers['P3P'] = 'CP="OUR PSA CAO"'

Of course, you need to choose appropriate values for the header
contents. See:

http://www.w3.org/TR/P3P/#compact_policy_vocabulary

j
Reply all
Reply to author
Forward
0 new messages