Advertisement
Guest User

Untitled

a guest
Jan 8th, 2011
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Erlang 0.55 KB | None | 0 0
  1. 1> ibrowse:start().
  2. {ok,<0.37.0>}
  3. 2> ibrowse:send_req("http://stream.twitter.com/1/statuses/sample.json", [], get, [],[{basic_auth, {"my_login", "my_password"}},{stream_to, self()}]).
  4. {ibrowse_req_id,{1294,504415,192317}}
  5. 3> flush().
  6. Shell got {ibrowse_async_headers,{1294,504415,192317},
  7.                                  "200",
  8.                                  [{"Content-Type","application/json"},
  9.                                   {"Transfer-Encoding","chunked"},
  10.                                   {"Server","Jetty(6.1.25)"}]}
  11. ok
  12. 4> flush().
  13. ok
  14. 5> flush().
  15. ok
  16. 6>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement