curl icon indicating copy to clipboard operation
curl copied to clipboard

http, write last header line late

Open icing opened this issue 1 year ago • 0 comments

  • HEADERFUNCTIONS might inspect response properties like CURLINFO_CONTENT_LENGTH_DOWNLOAD_T on seeing the last header line. If the line is being written before this is initialized, values are not available.
  • write the last header line late when analyzing a HTTP response so that all information is available at the time of the writing.
  • add test1485 to verify that CURLINFO_CONTENT_LENGTH_DOWNLOAD_T works on seeing the last header.
  • refs #13752

icing avatar May 23 '24 10:05 icing