Posted to tcl by patthoyts at Sat Nov 21 22:10:13 GMT 2009view raw

  1. Index: Wub/Httpd.tcl
  2. ===================================================================
  3. --- Wub/Httpd.tcl (revision 2074)
  4. +++ Wub/Httpd.tcl (working copy)
  5. @@ -359,6 +359,9 @@
  6. set si "The Wub"
  7. }
  8. append header "Server: $si" \r\n
  9. + dict for {k v} [dict get? $reply -headers] {
  10. + append header $k ": " $v \r\n
  11. + }
  12. }
  13.  
  14. # add in cookies already formatted up
  15. p