in reply to IO::All fails on 203 response

Is it a 203 or a 206? 203 means you actually got all the information, it was just handed off to a third party. 206 means you only requested a chunk of the file; this is common in video buffering, for example. Getting more of the file is a matter of modifying your URL, and is not related to IO::All.

List_of_HTTP_status_codes. All 200 codes are successful.


#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.

Replies are listed 'Best First'.
Re^2: IO::All fails on 203 response
by geoffleach (Scribe) on Feb 05, 2016 at 04:33 UTC
    Hmmm .... I guess it all means what the meaning of "successful" is. But now I know what I need to do. Thanks.

    "203" was a fumble-finger on my part.

    Thanks.

      If your video player is buffering the content between 1:30 and 1:35, it will issue a request for that chunk of the file. It will get a 206 in response. The request is successful because you got what you asked for.

      That said, I wouldn't be surprised if I sat on the wire for a video player and saw a stream of 200's instead of 206's. There are plenty of times people do not bother to exercise the entire HTTP spec.


      #11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.