Skip to content

Fix expect continue header

Stefan Spettel requested to merge fix_expect_continue into develop

Description

When the payload exceeds 1024 bytes, curl uses the Expect: 100-continue header and does not send the payload. Our server does not understand this and the NRF registration fails.

Fix

Set -H "Expect:"

In that case curl does not use this mechanism anymore.

Tests

Tested with HTTP1 and HTTP2, NRF registration works fine for both cases.

Edited by Stefan Spettel

Merge request reports