Releases: remy/next-http
1.1.0
Full Changelog: 1.0.3...1.1.0
This release adds a new error code to handle when there's no content-length
from the server response. .http doesn't support chunking, so a length is required to operate properly. Previously this could hang the request.
1.0.3
Full Changelog: 1.0.2...1.0.3
Both issues found and fixed by @em00k 🙏
1.0.2
1.0.1
What's Changed
- Bugfix: Reset lower word of 32bit timeout to $FFFF when upper word ro… by @Threetwosevensixseven in #4
New Contributors
- @Threetwosevensixseven made their first contribution in #4
Full Changelog: 1.0.0...1.0.1
1.0.0
Public stable release of http dot command for the Spectrum Next.
Note that there's no change since 1.0-26rc - and that the versioning will follow semantic versioning from here on.
Feature highlights:
- Download and save files
- Download data directly into user defined banks
- POST/upload data from a bank to an http endpoint
- Some cspect emulated EPS support (7bit encoding)
Fully tested with the following ESP AT command sets:
- 1.1.0.0
- 1.2.0.0
- 1.3.0.0 (most common)
- 1.6.0.0 (which is typically problematic)
1.0-26.rc
1.0-25.rc
1.0-24.rc
Rolling bank support by default on file downloads.
- Can be disabled with
-r
for use with fast SD cards wanting to download larger files than current memory limits. - Add border flash on sd card write to visualise working (when
-v n
is used) - Option to disable uart init (for advanced usage)
1.0-20.beta
connection: keep-alive
Instead of requesting the connection: close - which it appears some ESPs will close the connection during buffering the uart data, now we request with connection: keep-alive and manually close the TCP connection when we're done.
This is achieved by parsing the http headers, looking for content-length converting the value to a 32bit value, then subtracting the chunks we get from the uart until the length reaches zero.
Chunked encoding is still going to be a problem because the bytes include "metadata" that says how much data we've got in a chunk so the length won't match the number of bytes coming down, but chunked encoding wasn't supported yet anyway, so it's still an open issue.
This has been tested on AT versions:
- 1.1.0.0
- 1.2.0.0
- 1.3.0.0
- 1.6.0.0 (which had the problem in the first place)
1.0-18.beta
File download support 🎉
Breaking change: -f
is now used for filename, and "flash border" moved to -v
Release includes a verify.bas
- put this in the same directory as http
and it'll run tests to show whether files download correctly.