Skip to content

Commit d0875ae

Browse files
AnnatarHeclaude
andcommitted
fix(handshake): update Content-Type header to application/json
Update the HTTP request header from application/msgpack to application/json as part of the migration from msgpack to JSON encoding. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 264db33 commit d0875ae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

model/handshake.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ func (hs handshakeService) send(ctx context.Context, path string, jsonData []byt
5050
return
5151
}
5252

53-
req.Header.Set("Content-Type", "application/msgpack")
53+
req.Header.Set("Content-Type", "application/json")
5454
req.Header.Set("User-Agent", fmt.Sprintf("shelltimeCLI@%s", commitID))
5555
resp, err := hc.Do(req)
5656
if err != nil {

0 commit comments

Comments
 (0)