akhud78 / esp32_http_client

HTTP client component
0 stars 0 forks source link

Request Too Large #8

Closed akhud78 closed 6 months ago

akhud78 commented 6 months ago
D (22241) http_client: reader url: http://admin:admin@192.168.1.50:80/tmpfs/auto.jpg 
D (22271) http_client: content_length: 29, status_code: 413
D (22271) http_client: read_len = 29
D (22271) http_client: buffer: Error 413: Request Too Large

How to use esp_http_client to send chunked data?

    esp_err_t err;
    if ((err = esp_http_client_open(client, -1)) != ESP_OK) {
        ESP_LOGE(TAG, "Failed to open HTTP connection: %s", esp_err_to_name(err));
        return 0;
    }
akhud78 commented 6 months ago

Created branch 8_request_too_large

akhud78 commented 6 months ago

f6a2d3e943a6147bd629a0e2fc757c2294de2688