Chunked transfer encoding - browser behavior

前端 未结 3 1879
庸人自扰
庸人自扰 2020-11-29 05:26

I\'m trying to send data in chunked mode. All headers are set properly and data is encoded accordingly. Browsers recognize my response as a chunked one, accepting headers an

3条回答
  •  庸人自扰
    2020-11-29 05:45

    afaik browsers needs some payload to start render chunks as they received.
    Curl is of course an exception.

    Try to send about 1KB of arbitrary data before your first chunk.

    If you are doing everything correctly, browsers should render chunks as they received.

提交回复
热议问题