Skip to content

HTTP.jl discards start of request #140

@Keno

Description

@Keno

I thought I had filed this somewhere before, but we're seeing a pretty bad issue using HTTP.jl to interact with the GitHub API.

[HTTP - 2018-01-11T16:03:41.616]: received request on connection i=4
HTTP.Request:

POST / HTTP/1.1
X-Hub-Signature: sha1=bb3616be209738779a4bb3c4cada3c0bd5ec93da
X-Github-Event: pull_request
Host: [censored]
Accept: */*
Content-Length: 22453
Content-Type: application/json
User-Agent: GitHub-Hookshot/8f9d70f
X-Github-Delivery: fd84bdb0-f6e8-11e7-9a85-f9291adaee03
Content-Length: 9734

//api.github.com/repos/JuliaCI/BaseBenchmarks.jl/git/commits

Two things to note: The second Content-Length doesn't match the first and the shown body is obviously not the start of the body (which should start with { for valid JSON)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions