~/talk

Talking to Browsers with CORS

Talkat PyCon Australia 2015 · 2015-07-31..08-04· [web-platform, security]
links:none on file
slides:none on file

Claims that adding HTTP headers lets a browser-hosted client talk to a separate Python API securely and practically using standard browser behavior. Demonstrates the preflight OPTIONS request, shows required response headers like Access-Control-Allow-Origin: ... plus credentials and exposed headers, and uses a live demo: a ci.github.io client contacting a local OpenStack Ironic API after enabling CORS middleware. Notes star wildcard risks, browser caching of preflight, and that the request can still execute server side even when headers are omitted.

AI-written summary · about

  1. 0:00Start
  2. 5:35document.domain
  3. 8:30WebSockets
  4. 12:08CORS WildCard Response
  5. 13:56CORS: Python Packages
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.