about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-04-28 15:10:38 -0700
committerEric Wong <normalperson@yhbt.net>2010-04-28 15:10:38 -0700
commit8ddf88d1e9917baabc6c485546d1806c3a81cd0e (patch)
tree99a5fdb908788e389326a3bd22769a0255ab80ff
parent1fdfb4a68591337be2a88dfb4021da6232361825 (diff)
downloadkcar-8ddf88d1e9917baabc6c485546d1806c3a81cd0e.tar.gz
Any regexps or temporary strings should be created with binary
encoding as that's how HTTP processing is done.
-rw-r--r--lib/kcar/parser.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/kcar/parser.rb b/lib/kcar/parser.rb
index dbac7d0..4f077c6 100644
--- a/lib/kcar/parser.rb
+++ b/lib/kcar/parser.rb
@@ -1,3 +1,4 @@
+# -*- encoding: binary -*-
 module Kcar
 class Parser
 
@@ -34,6 +35,5 @@ class Parser
     trailers
   end
 
-end
-
-end
+end # class Parser
+end # module Kcar