I think that would be a nice enhancement, but not right now.


On 7 August 2013 12:43, jvelilla <notifications@github.com> wrote:

> In library/server/wsf/router/wsf_skeleton_handler.e:
>
> > +			h: HTTP_HEADER
> > +			m: STRING_8
> > +		do
> > +			create h.make
> > +			h.put_content_type_text_plain
> > +			m := "Server failed to handle request properly"
> > +			h.put_content_length (m.count)
> > +			h.put_current_date
> > +			res.set_status_code ({HTTP_STATUS_CODE}.internal_server_error)
> > +			res.put_string (m)
> > +		ensure
> > +			response_status_is_set: res.status_is_set
> > +			status_is_service_unavailable: res.status_code = {HTTP_STATUS_CODE}.internal_server_error
> > +			body_sent: res.message_committed and then res.transfered_content_length > 0
> > +		end
> > +
>
> The server uses text plain formatted representation for the error
> messages. I am ok with that, my question is, We want to add some kind of
> flexibility and enable a user to define his own default format?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/EiffelWebFramework/EWF/pull/68/files#r5629288>
> .
>