Skip to content

How to get body of the response? #13

@Lv-Yi

Description

@Lv-Yi

Hi, first of all good job!
How to get body or payload of http response besides status code? Trying to get something out of response inside the request but failed. Where is it? Thanks!

Update after few more testing. It seems response body saved in buffer->data, but not always....
For the same URL, bytes_read/bytes_write counter might have different value after long run. For quite high possibility in my testing (HTTP GET request, and JSON format payload in response body around 200Bytes), response content not completely saved into buffer. Is it caused by HTTP response in multiple TCP packets?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions