Skip to content

Conversation

@jimkring
Copy link
Contributor

@jimkring jimkring commented Aug 23, 2025

This PR enhances HTTP response handling by adding version information.

Todo:

  • add functionality to shared library
  • add LabVIEW wrapper VI for this function
  • integrate into the Abstract HTTP Client implementation class

Future tasks:

Enhances HTTP response handling by adding version information. Updated the process_request function to include HTTP version in responses and added a new function to retrieve the HTTP version as a string. Modified related types and FFI interface accordingly.
- Introduced a new 'list' command to display available just tasks.
- Added a 'format' command to run cargo fmt for code formatting.
- added VI to call the shared library function to get http version
- added basic building of "HTTP/1.1 200" string (but no reason like "OK")
@jimkring jimkring changed the title [WIP] add response version getter (e.g. "HTTP/1.1") Add response version getter (e.g. "HTTP/1.1") Aug 23, 2025
@jimkring
Copy link
Contributor Author

jimkring commented Aug 23, 2025

This is effectively "good enough" and we can leave figuring out if/how to handle the reason phrase for later.

@jimkring jimkring merged commit ab87294 into main Aug 23, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants