Open xjh33445566 opened 4 years ago
PR merged into/solved in the unofficial build - Release 2+
Sorry, but this is bull**it. Why json type by default? That's broke any template engine integration out-of-box.
This commit also broke logic where application already have content-type redefentions for POST requests. For example: jQuery ajax parse result depend on Content-Type received from controller. + default auto detection content type by extension making to use this fork impossible for projects where spark used more than just for hold REST requests.
Not to mention about sneaky Configuration outside Spark class.
I just do some simple code to fullfill the feature request. Hope this code can do some help for you.