Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Restore CopyToHTTPHeader #18

Merged
merged 2 commits into from
Jun 27, 2024
Merged

fix: Restore CopyToHTTPHeader #18

merged 2 commits into from
Jun 27, 2024

Conversation

red-0ne
Copy link
Collaborator

@red-0ne red-0ne commented Jun 27, 2024

Summary

Restore CopyToHTTPHeader POKTHTTPRequest and POKTHTTPResponse methods.

Issue

Restore helper methods needed by AppGateServer that copy POKTHTTP{Request/Response} headers to http.Header

Type of change

Select one or more:

  • New feature, functionality or library
  • Bug fix
  • Code health or cleanup
  • Documentation
  • Other (specify)

Sanity Checklist

  • I have tested my changes using the available tooling
  • I have commented my code
  • I have performed a self-review of my own code; both comments & source code
  • I create and reference any new tickets, if applicable
  • I have left TODOs throughout the codebase, if applicable

@red-0ne red-0ne added the enhancement New feature or request label Jun 27, 2024
@red-0ne red-0ne requested a review from adshmh June 27, 2024 14:10
@red-0ne red-0ne self-assigned this Jun 27, 2024
@red-0ne red-0ne merged commit 73716a2 into dev Jun 27, 2024
2 checks passed
red-0ne added a commit that referenced this pull request Jun 28, 2024
* Refactor move session client (#12)

* refactor: remove redundant application client

* refactor: move the BlockClient to top level

* remove the redundant clients/block.go

* fix spacing in the comment

* Refactor: move session client to top level

* refactor: use poktroll exported types in GetSessionSupplierEndpoints

* Use PoktNodeSessionFetcher as the interface consumed by SessionClinet

* feat: introduce a wrapper for Sessions to support endpoint selection

* fix: refactor FilteredSession to make it stateless

* fix linter errors

* fix linter warnings

* Refactor ring, sign, and relay functionality (#15)

* refactor: remove redundant application client

* refactor: move the BlockClient to top level

* remove the redundant clients/block.go

* fix spacing in the comment

* Refactor: move session client to top level

* refactor: use poktroll exported types in GetSessionSupplierEndpoints

* Use PoktNodeSessionFetcher as the interface consumed by SessionClinet

* feat: introduce a wrapper for Sessions to support endpoint selection

* Draft: overall SDK structure

* Fix the send relay example

* fix typo

* address review comments

* fix linter warnings

* address review comment: make SupplierAddress an input for Validating response

* address review comment: use query height to get app ring

* address review: TODO for stateless ring constructor

* [Ring] Poktroll ring construction (#17)

* refactor: remove redundant application client

* refactor: move the BlockClient to top level

* remove the redundant clients/block.go

* fix spacing in the comment

* Refactor: move session client to top level

* refactor: use poktroll exported types in GetSessionSupplierEndpoints

* Use PoktNodeSessionFetcher as the interface consumed by SessionClinet

* feat: introduce a wrapper for Sessions to support endpoint selection

* Draft: overall SDK structure

* Fix the send relay example

* fix typo

* address review comments

* fix linter warnings

* address review comment: make SupplierAddress an input for Validating response

* address review comment: use query height to get app ring

* address review: TODO for stateless ring constructor

* refactor: Use poktroll ring construction functions

* fix: ring naming and linting

* fix: Remove unused argument

* fix: Application address logging

* fix: Relay test example and go.mod poktroll dep

* chore: Update dependencies

---------

Co-authored-by: Arash Deshmeh <[email protected]>

* fix: Restore CopyToHTTPHeader (#18)

* fix: Restore CopyToHTTPHeader

* chore: Add TODO_REFACTOR

* docs: Rewrite README.md, remove unsuded code

* doc: Complete readme, godocs and latest poktroll vesion

* fix: linter errors

* chore: Use table based presentation

* fix: register codec types (#20)

* chore: run goimports

---------

Co-authored-by: Arash <[email protected]>
Co-authored-by: Arash Deshmeh <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

2 participants