~/talk

Debugging HTTP

slides:none on file

A practical playbook for finding where HTTP fails: use curl with -v -H -d and a cookie jar to reproduce requests and see headers, pipe JSON through python -m json.tool, use Wireshark to capture cross-process traffic and discover a malformed access token (a PHP variable name sent instead of the hex) that causes 400/500s, then fix code and verify a 201 created. Use Charles proxy ($50) to rewrite hosts, route a phone through the laptop, throttle networks and install its CA to inspect HTTPS.

AI-written summary · about

  1. 0:00Introduction
  2. 0:15Debugging
  3. 3:24Curl
  4. 7:45Command Line Tool
  5. 12:42Create data using Curl
  6. 18:07Python JSON library
  7. 18:27Wireshark
  8. 26:35Charles Proxy
  9. 30:56Charles Proxy Tricks
  10. 31:16Sunshine PHP
  11. 33:35Charles Rewrite
  12. 34:54Firefox Rewrite
  13. 37:05Charles Network Proxy
  14. 40:18Rewrite Rules
  15. 41:03Test Data
  16. 42:45SSL
  17. 44:40HTTP tools
  18. 46:48Debugging attitude
  19. 48:15Best tool
  20. 48:58Wrap up
~/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.