use DefaultContentType on application/x-www-form-urlencoded
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
		| @@ -250,6 +250,7 @@ func (h *httpServer) ServeHTTP(w http.ResponseWriter, r *http.Request) { | |||||||
| 			h.errorHandler(ctx, handler, w, r, err, http.StatusInternalServerError) | 			h.errorHandler(ctx, handler, w, r, err, http.StatusInternalServerError) | ||||||
| 			return | 			return | ||||||
| 		} | 		} | ||||||
|  | 		ct = DefaultContentType | ||||||
| 	} | 	} | ||||||
|  |  | ||||||
| 	if appErr := fn(ctx, hr, replyv.Interface()); appErr != nil { | 	if appErr := fn(ctx, hr, replyv.Interface()); appErr != nil { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user