Read data before writing any data, otherwise the connection may be
terminated before all data is actually written. This happens when the
resopnse body is bigger than ~65kb.
Although in this example the read data is thrown away, it must be read
to avoid issues.
Read data before writing any data, otherwise the connection may be terminated before all data is actually written. This happens when the resopnse body is bigger than ~65kb.
Although in this example the read data is thrown away, it must be read to avoid issues.