Ticket #98 (closed defect: fixed)
Camping is outputting one too many Z after the headers
| Reported by: | mst | Owned by: | somebody |
|---|---|---|---|
| Priority: | critical | Milestone: | Camping 1.6 |
| Component: | camping.rb | Version: | 1.5 |
| Keywords: | Cc: |
Description
It turned out the defect was in Base.to_s.
{"Content-Type"=>"text/html", "Set-Cookie"=>[]}.map{|k,v| [*v].map{|x|"#{k}: #{x}"}}
=> [["Content-Type: text/html"], []]
If you []*Z you get one Z too many. This problem doesn't show up for application which set Cookies for obvious reasons (:
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
