John Bintz
176ce40003
a little more code shuffling to clean up the body processor class a bit
2013-05-06 09:36:15 -04:00
John Bintz
8cd7e10604
skipping the testing of a method bit me. d'oh
2013-04-26 10:47:41 -04:00
John Bintz
730a595be2
big refactoring
2013-04-23 16:28:23 -04:00
ssendev
698ae43650
pass images through
2013-04-21 15:48:32 +02:00
Adam McCrea
45d5868aa6
Handle Rails apps running on relative root
2013-04-02 10:13:37 -04:00
Peter Fern
6b93954231
While we're at not messing with stuff, don't mess with inlined content
2013-03-19 17:32:46 +11:00
Peter Fern
75c50f7e92
Don't force iterating chunked (streamed) responses
2013-03-19 17:11:45 +11:00
aptx4869
c9e096f77a
escap & to &
2013-03-17 08:57:39 +08:00
David Miani
206ce04e77
Adds the live_reload_port option.
...
This allows the javascript to work with a non default value for the
livereload port (specified with the port option in the guard command).
For example, in config/environments/development.rb in rails:
config.middleware.insert_after(ActionDispatch::Static, Rack::LiveReload, :live_reload_port => 22351)
works with the following in the Guardfile:
guard 'livereload', port: '22351' do
...
end
This allows multiple guard livereload processes to operate at the same time without
conflicts.
2013-02-03 22:46:38 +11:00
John Bintz
85855cb25a
don't try to close text/event-stream bodies, should fix #24
2013-01-24 10:22:54 -05:00
Matthew Lehner
706d158328
extract head_tag_regex to constant
2012-12-13 16:27:06 -08:00
Matthew Lehner
cc1ad71a62
don't insert into <header> tags.
2012-12-13 14:41:30 -08:00
John Bintz
394af20be2
put the javascript at the start of the head block
2012-12-04 14:12:53 -05:00
John Bintz
7a6a51cb62
potential fix for turbolinks load order problem
2012-12-03 14:00:45 -05:00
John Bintz
e998fab430
make sure things inserted into the body are actually strings
2012-09-18 17:22:19 -04:00
Artem Kramarenko
f235eab442
no sense to add anything that is not 200.
2012-05-30 18:45:36 +03:00
John Bintz
82279dee94
try another change
2012-03-05 14:14:41 -05:00
John Bintz
0a30019d22
try closing the original body, see if that helps
2012-03-05 13:48:03 -05:00
John Bintz
075b92e7f4
duplicate the middleware to potentially solve threading conflicts
2012-03-04 13:25:45 -05:00
John Bintz
7733963658
merge
2012-03-02 09:27:12 -05:00
John Bintz
00a9eb9062
ensure you're actually working with real lines, not assuming the return value is an array you can mutate, fixes #6
2012-03-02 09:25:48 -05:00
Enric Lluelles
90b9a75b35
Check that the content-type header is there first
2012-01-23 20:51:59 +01:00
Enric Lluelles
6501c039b2
Content-Length is supposed to be bytes, not chars
2012-01-23 19:42:25 +01:00
John Bintz
e223e1ddbf
a little cleanup, add cucumber, add support for ignoring particular browsers
2012-01-03 08:58:51 -05:00
John Bintz
5166ae2c26
fix bug when path was nil
2011-12-02 06:58:06 -05:00
John Bintz
20ef5cc1f3
add the ability to ignore certain urls that may match
2011-12-01 07:25:02 -05:00
John Bintz
d4c8e8cf96
ensure some sort of host for rack::mockrequests that don't provide one
2011-11-28 10:42:39 -05:00
John Bintz
47faab2457
add support for web-sockets-js
2011-11-17 15:44:48 -05:00
John Bintz
cc745deaa0
fix an issue with catching network traffic errors
2011-11-14 09:10:40 -05:00
John Bintz
92479fdaff
detection and use of local livereload if available
2011-11-08 09:48:34 -05:00
John Bintz
eccebca01f
override the host. now it is complete. no more changes ever need to be made to this. ever.
2011-11-07 09:11:27 -05:00
John Bintz
ccf888dd30
set options when adding the middleware to the stack
2011-11-07 09:06:40 -05:00
John Bintz
17d4bed4eb
a few more fixes
2011-11-07 08:49:42 -05:00
John Bintz
fde86b211b
stream body munging
2011-11-07 08:41:51 -05:00
John Bintz
ec2a2e3115
haha, fix a dumb bug:
2011-11-04 11:57:41 -04:00
John Bintz
2115047ab1
initial commit
2011-11-04 11:51:22 -04:00