Show
Ignore:
Timestamp:
09/25/2007 06:39:47 (14 months ago)
Author:
zimbatm
Message:

Fix for ticket #126

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/lib/camping-unabridged.rb

    r222 r224  
    415415    # alter the way Camping builds HTTP headers, consider overriding this method. 
    416416    def to_s 
    417       "Status: #{status}#{Z+headers.map{|k,v|[*v].map{|x|[k,v]*": "}}*Z+Z*2}#{body}" 
     417      "Status: #@status#{Z+headers.map{|k,v|[*v].map{|x|[k,v]*": "}}*Z+Z}#@body" 
    418418    end 
    419419