diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-02-05 14:11:09 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-02-09 19:50:40 -0800 |
commit | bf680b1a61ab17b6a0e17432fd4ab22358ec83bd (patch) | |
tree | f6e42b3c3514eeb71fe0332b948d95f2b498dc5e /lib/unicorn/const.rb | |
parent | ce5868855c7bbd0aa82dcd60b2e27a3fd3d5f9fb (diff) | |
download | unicorn-bf680b1a61ab17b6a0e17432fd4ab22358ec83bd.tar.gz |
It's more GC-friendly to just use an array than to repeatedly append short strings on top of each other. I also find StringIO confusing...
Diffstat (limited to 'lib/unicorn/const.rb')
-rw-r--r-- | lib/unicorn/const.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/unicorn/const.rb b/lib/unicorn/const.rb index 56c3bb4..8cefd2b 100644 --- a/lib/unicorn/const.rb +++ b/lib/unicorn/const.rb @@ -101,7 +101,6 @@ module Unicorn HEAD="HEAD".freeze # ETag is based on the apache standard of hex mtime-size-inode (inode is 0 on win32) ETAG_FORMAT="\"%x-%x-%x\"".freeze - HEADER_FORMAT="%s: %s\r\n".freeze LINE_END="\r\n".freeze REMOTE_ADDR="REMOTE_ADDR".freeze HTTP_X_FORWARDED_FOR="HTTP_X_FORWARDED_FOR".freeze |