rust-cookbook icon indicating copy to clipboard operation
rust-cookbook copied to clipboard

596 headers

Open KappaDistributive opened this issue 5 years ago • 1 comments

I've made a few changed to the original recipe:

  • made the usage of error_chain visible to account for #563
  • switch to the synchronous reqwest client to simplify the recipe
  • removed the authorization header since this is now handled via reqwest::RequestBuilder::bearer_auth
  • got rid of the hyper::header! macro
  • gave the X-Powered-By header a more generic/sterile value
  • added missing links

fixes #596

KappaDistributive avatar Jun 15 '20 19:06 KappaDistributive

Please let me now if you'd like to see any changes.

The decision I'm least confident/happy about/with is the ad-hoc creation of the custom header.

KappaDistributive avatar Jun 15 '20 20:06 KappaDistributive