-
Notifications
You must be signed in to change notification settings - Fork 5
/
TODO
24 lines (11 loc) · 1.04 KB
/
TODO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
== CURRENT/NEXT
x [feature/issue]: Fix/Review "Last-Modified" HTTP cache header case - to comply with W3C spec.
- [feature]: Track if P3P-headers should be sent via cookie. Reason: We can't assume that only bodies that contain <iframe>-elements needs the P3P header (or so I think right now).
== LOW-PRIO
- [refactor/test]: Use pure integration testing, i.e. mocks/env => Sinatra/headers.
== MAYBE
- [feature]: Optionally silently/evily inject "the cross-domain iframe JavaScript hack" for Safari - or specified user agents - into the body response. >:)
- [refactor/enhancement]: Use 'useragent' gem to parse 'USER_AGENT'-header - https://rubygems.org/gems/useragent
- [feature]: Add option to send 304 headers but delete "Set-Cookie"-header - not allowed by spec, but seems to work in most browsers/servers anyway.
- [feature]: Support for policy reference file. http://www.w3.org/TR/P3P/#ref_file
- [feature]: Support for specifying compact policies by configuration. http://www.w3.org/TR/P3P/#compact_policies http://www.p3pwriter.com/LRN_111.asp