Closed ylin30 closed 1 year ago
Thinking of removing --http.request.format
completely to support Json and plain put at the same time. We can assume plain put by default. If fallback, then check json format. If still fails, then return 500.
Perf should not be affected too much. To do in 0.11.8?
Fix already in dev. --http.request.format will be removed in 0.11.8 to be released soon.
Fix in 0.11.8 released
0.11.7
By default TT --http.request.format=plain, /api/put only accepts plain put. However, if /api/put sends json, it still returns 200.
The other way around is correct, i.e., --http.request.format=json, /api/put fails if it sends plain put.