Skip to content

Allow to access intermediary request#997

Open
speeddragon wants to merge 1 commit into
edgefrom
feat/request_reply
Open

Allow to access intermediary request#997
speeddragon wants to merge 1 commit into
edgefrom
feat/request_reply

Conversation

@speeddragon

Copy link
Copy Markdown
Collaborator

When using gateway-shim@1.0, the accept property cannot be used properly when redirecting.

"gateway-shim-routes": [
  {
    "template": "^/tx$",
    "path": "/~bundler@1.0/tx?codec-device=ans104@1.0&accept=json@1.0"
  },
]

The following example will not convert the response from the headers to JSON format. With this change, the new request is used, and the accept property can be accessed.

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.

1 participant