Skip to content

Commit c91bcd0

Browse files
committed
misc: add gzip encoding
1 parent bfabfbb commit c91bcd0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,8 @@ impl ApolloTracing {
212212
.post(REPORTING_URL)
213213
.body(msg)
214214
.header("content-type", "application/protobuf")
215+
.header("content-encoding", "gzip")
216+
.header("accept", "application/json")
215217
.header("X-Api-Key", &authorization_token)
216218
.send()
217219
.await;

0 commit comments

Comments
 (0)