소스 검색

Document what follows a cross-host redirect

Credentials and the client certificate stay behind; other headers,
default ones included, go along as RFC 9110 15.4 has it, and so do the
limits and the TLS settings.
yhirose 3 일 전
부모
커밋
3782a9f1cd
1개의 변경된 파일과 2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      README.md

+ 2 - 0
README.md

@@ -1391,6 +1391,8 @@ res = cli.Get("/");
 res->status; // 200
 ```
 
+On a redirect to another host, `Authorization`, `Cookie` and `Proxy-Authorization` are dropped along with the credentials set with `set_basic_auth()` and the like, and the client certificate is not presented. Other headers, the default ones included, go along (RFC 9110 §15.4), and so do the timeouts, the payload limit and the TLS verification settings.
+
 ### Use a specific network interface
 
 > [!NOTE]