File tree 2 files changed +5
-1
lines changed
src/main/java/com/arangodb/internal/velocystream
2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
6
6
7
7
## [ Unreleased]
8
8
9
+ - fixed VST communication adding ` accept ` and ` content-type ` headers
10
+
9
11
## [ 6.7.0] - 2020-07-01
10
12
11
13
- added support of schema validation (ArangoDB v3.7)
Original file line number Diff line number Diff line change @@ -149,7 +149,9 @@ protected Response createResponse(final Message message) throws VPackParserExcep
149
149
return response ;
150
150
}
151
151
152
- protected Message createMessage (final Request request ) throws VPackParserException {
152
+ protected final Message createMessage (final Request request ) throws VPackParserException {
153
+ request .putHeaderParam ("accept" , "application/x-velocypack" );
154
+ request .putHeaderParam ("content-type" , "application/x-velocypack" );
153
155
final long id = mId .incrementAndGet ();
154
156
return new Message (id , util .serialize (request ), request .getBody ());
155
157
}
You can’t perform that action at this time.
0 commit comments