in reply to "Unexpected end of stream while looking for line"

This is a bug in HTTP::Tiny If the server uses "\n\r" for line feeds instead of the more common "\n", it will think it received two line feeds instead of one and throw this error.
  • Comment on Re: "Unexpected end of stream while looking for line"

Replies are listed 'Best First'.
Re^2: "Unexpected end of stream while looking for line"
by ysth (Canon) on Nov 05, 2024 at 19:46 UTC
    I'm guessing this was supposed to say "\r\n".
    --
    A math joke: r = | |csc(θ)|+|sec(θ)| |-| |csc(θ)|-|sec(θ)| |