aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorOskari Timperi <oskari.timperi@iki.fi>2018-04-23 22:37:41 +0300
committerOskari Timperi <oskari.timperi@iki.fi>2018-04-23 22:37:41 +0300
commit3d786878ac839e558bde0a096f74638f38adec86 (patch)
tree879060bd9d5bea4374ff562c02a7031dc5d058e7 /examples
parent70fc125042676e86dc33f5365b44fbbbcb9fe6df (diff)
downloadnimtwirp-3d786878ac839e558bde0a096f74638f38adec86.tar.gz
nimtwirp-3d786878ac839e558bde0a096f74638f38adec86.zip
Refactor + fix content-length issue
This way need to generate a bit less code. Also include the Content-Length header always in POST requests made by the client. This fixes an issue when we are serializing a message with no fields and we have empty body. HttpClient does not include the Content-Length header for us, so we'll just include it every time to make our requests work in all cases.
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions