From bdd4c2c3ef9a3a18522f704fe6b9d6959dec4de5 Mon Sep 17 00:00:00 2001 From: Sunli Date: Thu, 2 Sep 2021 20:06:39 +0800 Subject: [PATCH] Update CHANGELOG --- CHANGELOG.md | 4 ++++ src/http/mod.rs | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b1430bc9..6873b0da 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## Unreleased + +- Add support for [serde_cbor](https://crates.io/crates/serde_cbor). [#619](https://github.com/async-graphql/async-graphql/pull/619) + ## [2.9.13] 2021-09-01 - Released [`Axum`](https://github.com/tokio-rs/axum) integration. [`async-graphql-axum`](https://crates.io/crates/async-graphql-axum) diff --git a/src/http/mod.rs b/src/http/mod.rs index 8ef8319d..a789ba9a 100644 --- a/src/http/mod.rs +++ b/src/http/mod.rs @@ -53,10 +53,6 @@ pub async fn receive_batch_body( receive_batch_cbor(body).await } - (mime::OCTET_STREAM, _) | (mime::APPLICATION, mime::OCTET_STREAM) => { - receive_batch_cbor(body).await - } - // try to use multipart (mime::MULTIPART, _) => { if let Some(boundary) = content_type.get_param("boundary") {