Commit f436aad
app: Remove body length check for HTTP POST/PUT requests
The body length check was a leftover from the old implementation
that required buffering the entire request body before sending.
Now that the client supports streaming request bodies of arbitrary
size, this check is no longer necessary. The check for
SM_DATAMODE_FLAGS_MORE_DATA is also removed as the body is sent
as a raw stream.
Signed-off-by: Juha Ylinen <juha.ylinen@nordicsemi.no>1 parent 40aa72c commit f436aad
1 file changed
Lines changed: 2 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | 26 | | |
28 | 27 | | |
29 | 28 | | |
| |||
883 | 882 | | |
884 | 883 | | |
885 | 884 | | |
886 | | - | |
887 | | - | |
888 | | - | |
889 | | - | |
890 | | - | |
891 | | - | |
892 | 885 | | |
893 | 886 | | |
894 | 887 | | |
| |||
1066 | 1059 | | |
1067 | 1060 | | |
1068 | 1061 | | |
1069 | | - | |
1070 | | - | |
1071 | | - | |
| 1062 | + | |
| 1063 | + | |
1072 | 1064 | | |
1073 | 1065 | | |
1074 | 1066 | | |
| |||
0 commit comments