💾 Archived View for rawtext.club › ~sloum › geminilist › 002636.gmi captured on 2020-11-07 at 03:02:33. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2020-09-24)

-=-=-=-=-=-=-

<-- back to the mailing list

Gemini proxy image display

Mr. Leveck leveck at leveck.us

Thu Sep 10 16:40:42 BST 2020

- - - - - - - - - - - - - - - - - - - 

On 9/10/20 9:28 AM, Charles E. Lehner wrote:

Hi Mr. Leveck,
On Thu, 10 Sep 2020 09:19:19 -0600
"Mr. Leveck" <leveck at leveck.us> wrote:
On 9/10/20 9:12 AM, Kevin Sangeelee wrote:
Do you mean to throw away the first 8k of content bytes?
Sent from phone
Yes.
All this does is toss out the status and meta data. I could specify
8MB to toss out, and the result would be the same in PHP using this
Perhaps you could use fgets($socket) instead, to read just the first line. The server might send the status + meta line in the same packet as the initial body data. In that case, reading just the first line with the buffered reader will save the rest of the body for later reading.

I get all the content just fine...

I am looking for advice on serving binary files via my proxy.

-- jynxgopher://1436.ninjagemini://1436.ninja/https://leveck.us