getndazn / kopytko-framework

A modern Roku's Brightscript framework based on JS world's solutions
MIT License
19 stars 6 forks source link

feat!: Add HTTP request and support HTTP caching #49

Closed pawelhertman closed 1 year ago

pawelhertman commented 1 year ago

What did you implement:

How did you implement it:

How can we verify it:

Implement a task node extending a new HttpRequest to send a GET request. Send the request multiple times and notice only one request sent via HTTP(S) until the response's max-age value is not reached. If your service implements the ETag mechanism, notice a cached response returned in case of 304 HTTP response.

Todos:

Is this ready for review?: YES Is it a breaking change?: NO (introduced few @deprecated mentions)

github-actions[bot] commented 1 year ago

:tada: This PR is included in version 2.0.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: