Skip to content

Add "Accept:application/json" header for all requests.#544

Merged
tomusdrw merged 1 commit into
paritytech:masterfrom
yinhu-prismalab:add-accept-header
Feb 23, 2020
Merged

Add "Accept:application/json" header for all requests.#544
tomusdrw merged 1 commit into
paritytech:masterfrom
yinhu-prismalab:add-accept-header

Conversation

@yinhu-prismalab
Copy link
Copy Markdown
Contributor

As discussed in #542 .
Add accept header for client http requests so that it can work with some other libs/existing servers that require this field.

@parity-cla-bot
Copy link
Copy Markdown

It looks like @yinhu-prismalab hasn't signed our Contributor License Agreement, yet.

The purpose of a CLA is to ensure that the guardian of a project's outputs has the necessary ownership or grants of rights over all contributions to allow them to distribute under the chosen licence.
Wikipedia

You can read and sign our full Contributor License Agreement at the following URL: https://cla.parity.io

Once you've signed, please reply to this thread with [clabot:check] to prove it.

Many thanks,

Parity Technologies CLA Bot

@tomusdrw
Copy link
Copy Markdown
Contributor

Looks good, thanks!

@tomusdrw tomusdrw merged commit 84f2c42 into paritytech:master Feb 23, 2020
@yinhu-prismalab
Copy link
Copy Markdown
Contributor Author

[clabot:check]

@parity-cla-bot
Copy link
Copy Markdown

It looks like @yinhu-prismalab signed our Contributor License Agreement. 👍

Many thanks,

Parity Technologies CLA Bot

@yinhu-prismalab yinhu-prismalab deleted the add-accept-header branch February 24, 2020 01:44
@ascjones ascjones mentioned this pull request Apr 14, 2020
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.

3 participants