diff options
| author | Oskari Timperi <oskari.timperi@iki.fi> | 2018-04-23 22:37:41 +0300 |
|---|---|---|
| committer | Oskari Timperi <oskari.timperi@iki.fi> | 2018-04-23 22:37:41 +0300 |
| commit | 3d786878ac839e558bde0a096f74638f38adec86 (patch) | |
| tree | 879060bd9d5bea4374ff562c02a7031dc5d058e7 /examples | |
| parent | 70fc125042676e86dc33f5365b44fbbbcb9fe6df (diff) | |
| download | nimtwirp-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
