You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "ya-dao (via GitHub)" <gi...@apache.org> on 2025/05/29 13:47:56 UTC
Re: [I] my Issue: no valid Basic authorization [doris]
ya-dao commented on issue #6241:
URL: https://github.com/apache/doris/issues/6241#issuecomment-2919465422
> `curl --location-trusted -u root -T _data.csv -H "label:20" -H "format:csv_with_names" -H "Expect:100-continue" -H "column_separator:," http://192.168.88.13:8030/api/test_db/test_streamload/_stream_load`
>
> This curl works in cmd, postman and go app but not works in C#, node, python. The error: [NOT_AUTHORIZED]no valid Basic authorization
I found this explain from ai chat, share with the subsequent friends:
> curl will not send authorization in default if redirected to different host, so use `--location-trusted` instead of `--location` or without `--location` parameter can change this behavior, that's why this curl can work.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org