Advertisement
Guest User

Untitled

a guest
Feb 25th, 2018
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.69 KB | None | 0 0
  1. ###log on TCP LEVEL also comment
  2. Client says:
  3. GET /sse/stocks.php HTTP/1.1
  4. Host: demo.howopensource.com
  5. User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0
  6. Accept: text/event-stream
  7. Accept-Language: en-US,en;q=0.5
  8. Accept-Encoding: gzip, deflate
  9. Referer: http://demo.howopensource.com/sse/
  10. Last-Event-ID: 69
  11. Cookie: _ga=GA1.2.981741823.1519514169; _gid=GA1.2.1508804037.1519514169; _referrer_og=https%3A%2F%2Fwww.google.co.jp%2F; _jsuid=1180108938; _eventqueue=%7B%22heatmap%22%3A%5B%5D%2C%22events%22%3A%5B%5D%7D
  12. Connection: keep-alive
  13. Pragma: no-cache
  14. Cache-Control: no-cache
  15.  
  16. ###Server: answers with this stream
  17.  
  18.  
  19. HTTP/1.1 200 OK
  20. Date: Sun, 25 Feb 2018 00:32:16 GMT
  21. Server: Apache/2.4.25 (Debian)
  22. Cache-Control: no-cache
  23. Connection: keep-alive, Keep-Alive
  24. Keep-Alive: timeout=5, max=100
  25. Transfer-Encoding: chunked
  26. Content-Type: text/event-stream;charset=UTF-8
  27.  
  28. 19
  29. id: 0
  30. data: GOOG:533.37
  31.  
  32. ###Delay
  33. 18
  34. id: 1
  35. data: MSFT:47.59
  36.  
  37. with a
  38. ###Delay
  39. 18
  40. id: 2
  41. data: IBM:162.99
  42.  
  43.  
  44. 19
  45. id: 3
  46. data: AAPL:114.12
  47.  
  48.  
  49. 18
  50. id: 4
  51. data: MSFT:47.29
  52.  
  53.  
  54. 19
  55. id: 5
  56. data: GOOG:533.95
  57.  
  58.  
  59. 18
  60. id: 6
  61. data: IBM:163.78
  62.  
  63.  
  64. 19
  65. id: 7
  66. data: GOOG:533.55
  67.  
  68.  
  69. 19
  70. id: 8
  71. data: AAPL:113.67
  72.  
  73.  
  74. 19
  75. id: 9
  76. data: GOOG:533.91
  77.  
  78.  
  79. 19
  80. id: 10
  81. data: MSFT:48.12
  82.  
  83.  
  84. 19
  85. id: 11
  86. data: IBM:162.37
  87.  
  88.  
  89. 1a
  90. id: 12
  91. data: AAPL:114.12
  92.  
  93.  
  94. 19
  95. id: 13
  96. data: MSFT:48.05
  97.  
  98.  
  99. 1a
  100. id: 14
  101. data: AAPL:114.32
  102.  
  103.  
  104. 1a
  105. id: 15
  106. data: GOOG:533.97
  107.  
  108.  
  109. 19
  110. id: 16
  111. data: MSFT:48.54
  112.  
  113.  
  114. 19
  115. id: 17
  116. data: IBM:162.69
  117.  
  118.  
  119. 1a
  120. id: 18
  121. data: AAPL:114.45
  122.  
  123.  
  124. 19
  125. id: 19
  126. data: IBM:162.74
  127.  
  128.  
  129. 1a
  130. id: 20
  131. data: AAPL:114.67
  132.  
  133.  
  134. 1a
  135. id: 21
  136. data: GOOG:533.97
  137.  
  138.  
  139. 19
  140. id: 22
  141. data: MSFT:48.54
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement