Open longsleep opened 10 years ago
This PR adds direct support for string and []byte response data from sleepy handler implementations. It also makes sure that the response header content-type is set if JSON is encoded by sleepy.
This PR adds direct support for string and []byte response data from sleepy handler implementations. It also makes sure that the response header content-type is set if JSON is encoded by sleepy.