{"action":"closed","issue":{"url":"https://api.github.com/repos/ufna/VaRest/issues/35","labels_url":"https://api.github.com/repos/ufna/VaRest/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/ufna/VaRest/issues/35/comments","events_url":"https://api.github.com/repos/ufna/VaRest/issues/35/events","html_url":"https://github.com/ufna/VaRest/issues/35","id":103931215,"number":35,"title":"Content-length is 4 but no data with GET, JSON","user":{"login":"Faleij","id":1973894,"avatar_url":"https://avatars.githubusercontent.com/u/1973894?v=3","gravatar_id":"","url":"https://api.github.com/users/Faleij","html_url":"https://github.com/Faleij","followers_url":"https://api.github.com/users/Faleij/followers","following_url":"https://api.github.com/users/Faleij/following{/other_user}","gists_url":"https://api.github.com/users/Faleij/gists{/gist_id}","starred_url":"https://api.github.com/users/Faleij/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Faleij/subscriptions","organizations_url":"https://api.github.com/users/Faleij/orgs","repos_url":"https://api.github.com/users/Faleij/repos","events_url":"https://api.github.com/users/Faleij/events{/privacy}","received_events_url":"https://api.github.com/users/Faleij/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ufna/VaRest/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-30T15:42:19Z","updated_at":"2015-09-20T12:48:29Z","closed_at":"2015-09-20T12:48:29Z","body":"Creating a JSON request (GET, ``JSON``) without any more than binding on complete and fail and calling ``process url`` sends a request with ``content-length`` of 4, but sends no data, eventually resulting in a timeout because the server waits for a body until it timesout and is unable to complete the request. ``application/x-www-form-urlencoded`` on the otherhand, gives a proper ``content-length`` of 0.\r\n\r\nComplete request headers:\r\n```\r\n{ host: '127.0.0.1:3000',\r\n  accept: '*/*',\r\n  'content-type': 'application/json',\r\n  'user-agent': 'game=GAME, engine=UE4, version=4.8.3-2634408+++depot+UE4-Releases+4.8',\r\n  'content-length': '4',\r\n  pragma: 'no-cache' }\r\n```\r\n(NodeJS with Express 4 used as server)"}}