Commit Graph

8 Commits

Author SHA1 Message Date
Joshua Peek d2d4acf027 Cookies middleware 2010-01-16 17:22:27 -06:00
Jeremy Kemper 24e1b55608 Fix bare string Rack response bodies 2009-12-23 13:06:53 -08:00
Joshua Peek 2419fae092 Pending tests for AD Response 2009-12-17 22:10:37 -06:00
Joshua Peek 3b44f35e24 Don't need response prepare! 2009-12-17 22:10:37 -06:00
Yehuda Katz b53f006901 Remove legacy processing and content_length
* convert_content_type! is handled by assign_default_content_type_and_charset!
  * set_content_length! should be handled by the endpoint server. Otherwise
    each middleware that modifies the body has to do the expensive work of
    recalculating content_length.
  * convert_language! appears to be legacy. There are no tests for this
  * convert_cookies! should be handled by the new HeaderHash in Rack
  * Use an integer for .status's internal representation to avoid needing to
    do String manipulation just to find out the status
2009-08-02 19:39:33 -04:00
Yehuda Katz 503ce1d01c Update cache_control to be a Hash of options that is used to build the header.
* Significantly simplifies setting and modifying cache control in other areas
2009-08-02 19:39:33 -04:00
Joshua Peek 5352a2417b Move useful response test helpers into request 2009-04-26 11:12:33 -05:00
Joshua Peek dbbe2e74ff Create a new file for response tests 2009-04-26 10:26:53 -05:00