Skip to content

HTTP/S Content Length #1

@yonas

Description

@yonas

Util.java has:

getViaHttpsConnection(...)
{
...
if (len == -1L)
...

It make this work for my system (Ubuntu, Lighttpd, PHP, NetBeans 6.7.1), I had to change that line to:

if (len == -1L || len == 0)

Also, I noticed that postViaHttpsConnection only checks for len == 0. Perhaps getViaHttpsConnection's check for -1 is a typo?

Cheers,
Yonas

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions