valum-framework / valum

Web micro-framework written in Vala
https://valum-framework.readthedocs.io/en/latest/
GNU Lesser General Public License v3.0
225 stars 23 forks source link

Provide expansion utilities to write the response body #170

Closed arteymix closed 8 years ago

arteymix commented 8 years ago

I'm wondering if the UTF-8 expansion should set the charset parameter for the Content-Type header.

The documentation should be updated as well.

Otherwise, it's ready to merge!

Bob131 commented 8 years ago

:+1:

arteymix commented 8 years ago

Just removed the bad commit on tip of master so that we can get a result from the CI.

arteymix commented 8 years ago

@Bob131 do you think that providing the number of written bytes would be a useful out parameter?

arteymix commented 8 years ago

I'm even considering a expand_printf function, but that won't be of much use though.

Bob131 commented 8 years ago

Not really. I can't really imagine any real use case for it