Skip to content

Releases: remy/next-http

1.1.0

23 Mar 11:08
Compare
Choose a tag to compare

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

12 May 09:28
Compare
Choose a tag to compare

1.0.2

28 Feb 12:57
Compare
Choose a tag to compare

Full Changelog: 1.0.1...1.0.2

  • Fixed: Bank clearing is 1 byte too long #5

1.0.1

27 Feb 16:46
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.0.0...1.0.1

1.0.0

17 May 19:16
Compare
Choose a tag to compare

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

13 May 22:17
Compare
Choose a tag to compare
1.0-26.rc Pre-release
Pre-release

7bit get working again - cspect support.

Cspect can drop packets at random, but small payloads are fine (usually under a few KB).

1.0-25.rc

11 May 21:21
Compare
Choose a tag to compare
1.0-25.rc Pre-release
Pre-release

Re-testing 7bit support, fixed byte lengths with a length / 3 remainder 2 (i.e. 32 bytes long).

Also restored cspect emulated esp.

1.0-24.rc

07 May 22:29
Compare
Choose a tag to compare
1.0-24.rc Pre-release
Pre-release

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

28 Apr 20:28
Compare
Choose a tag to compare
1.0-20.beta Pre-release
Pre-release

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

06 Apr 21:52
787b574
Compare
Choose a tag to compare
1.0-18.beta Pre-release
Pre-release

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.