Permalink
Browse files

Match comment with actual code

  • Loading branch information...
1 parent 43ab31f commit e65bdfdca050f426a3e628756998fc73d635fe15 @tomykaira tomykaira committed Sep 24, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 examples/stream.rb
View
@@ -2,9 +2,9 @@
$:<< '../lib' << 'lib'
#
-# A simple HTTP streaming API which returns a 200 response for any GET request
-# and then emits numbers 1 through 10 in 1 second intervals, and then closes the
-# connection.
+# A simple HTTP streaming API which returns a 202 (Accepted) response for any
+# GET request and then emits numbers 1 through 10 in 1 second intervals, and
+# then closes the connection.
#
# A good use case for this pattern would be to provide a stream of updates or a
# 'firehose' like API to stream data back to the clients. Simply hook up to your

0 comments on commit e65bdfd

Please sign in to comment.