alexcrichton / alexcrichton/curl-rust

Expose CURLOPT_POSTREDIR

オープン
#286 コメント 2 件 リアクション 1 件 担当者 0 名 GitHub で見る
enhancement
主要言語
Rust
スター
1.1k
フォーク
258
PR マージ指標
30日以内にマージされた PR はありません

説明

The [`CURLOPT_POSTREDIR` option](https://curl.haxx.se/libcurl/c/CURLOPT_POSTREDIR.html) is e.g. required when the site is redirecting from not-slash-terminated to slash-terminated urls. Currently, the safe wrapper does not have a way to set `CURLOPT_POSTREDIR`, and the curl-sys crate doesn't have constants for `CURL_REDIR_POST_301`, `CURL_REDIR_POST_302` , `CURL_REDIR_POST_303` and `CURL_REDIR_POST_ALL`, which are defined [here](https://github.com/curl/curl/blob/dca6f73613d8b578687bd4aeeedd198f9644bb53/include/curl/curl.h#L2055-L2065).

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。