Skip to content

Instantly share code, notes, and snippets.

@theterg
Created February 22, 2013 21:48
Show Gist options
  • Save theterg/5016797 to your computer and use it in GitHub Desktop.
Save theterg/5016797 to your computer and use it in GitHub Desktop.
Autoreconnect + keepalive TCP dump
POST /stream?resource_id=c7cf00fc21622a15f15bd390a698af3f34efd9bc&swarm_id=0d86ad8e7f33d4c9bb33d38ef9295f897a636523 HTTP/1.1
Host: api.bugswarm.net
Accept: application/json
X-BugSwarmApiKey: 7a849e6548dbd6f8034bb7cc1a37caa0b1a2654b
Connection: close
User-Agent: SwarmSessionImp
Transfer-Encoding: chunked
Content-Type: application/json ;charset=UTF-8
X-Forwarded-For: 69.195.32.42
43
{"presence":{"to":["0d86ad8e7f33d4c9bb33d38ef9295f897a636523"]}}
0
HTTP/1.1 200 OK
X-Powered-By: BSS v1.0
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: POST, GET, OPTIONS
Access-Control-Allow-Credentials: false
Access-Control-Max-Age: 86400
Access-Control-Allow-Headers: X-Requested-With, X-HTTP-Method-Override, Content-Type, Accept, Origin, Authorization, X-BugSwarmApiKey
Content-Type: application/json
Connection: close
Transfer-Encoding: chunked
0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment